Class Ext.data.SortTypes
| Package: | Ext.data |
| Defined In: | SortTypes.js |
| Class: | SortTypes |
| Extends: | Object |
This class is a singleton and cannot be created directly.
Public Properties
| |
stripTagsRE : RegExp
The regular expression used to strip tags
|
SortTypes |
Public Methods
| |
asDate( Mixed s ) : Number
Date sorting
Date sorting
Parameters:
Returns:
NumberThe comparison value
|
SortTypes |
| |
asFloat( Mixed s ) : Float
Float sorting
Float sorting
Parameters:
Returns:
FloatThe comparison value
|
SortTypes |
| |
asInt( Mixed s ) : Number
Integer sorting
Integer sorting
Parameters:
Returns:
NumberThe comparison value
|
SortTypes |
| |
asText( Mixed s ) : String
Strips all HTML tags to sort on text only
Strips all HTML tags to sort on text only
Parameters:
Returns:
StringThe comparison value
|
SortTypes |
| |
asUCString( Mixed s ) : String
Case insensitive string
Case insensitive string
Parameters:
Returns:
StringThe comparison value
|
SortTypes |
| |
asUCText( Mixed s ) : String
Strips all HTML tags to sort on text only - Case insensitive
Strips all HTML tags to sort on text only - Case insensitive
Parameters:
Returns:
StringThe comparison value
|
SortTypes |
| |
none( Mixed s ) : Mixed
Default sort that does nothing
Default sort that does nothing
Parameters:
Returns:
MixedThe comparison value
|
SortTypes |
Public Events
This class has no public events.