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:
Number The comparison value
|
SortTypes |
|
asFloat( Mixed s ) : Float
Float sorting
Float sorting
Parameters:
Returns:
Float The comparison value
|
SortTypes |
|
asInt( Mixed s ) : Number
Integer sorting
Integer sorting
Parameters:
Returns:
Number The 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:
String The comparison value
|
SortTypes |
|
asUCString( Mixed s ) : String
Case insensitive string
Case insensitive string
Parameters:
Returns:
String The 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:
String The comparison value
|
SortTypes |
|
none( Mixed s ) : Mixed
Default sort that does nothing
Default sort that does nothing
Parameters:
Returns:
Mixed The comparison value
|
SortTypes |
Public Events
This class has no public events.