_defSortFn
private
void
_defSortFn
(
)
Method that all sort calls go through.
Sets up the lastSortProperties object with the details of the sort, and passes in parameters
to the "defaultSorter" or a custom specified sort function.
flip
void
flip
(
)
Sorts the recordset based on the last-used sort parameters, but flips the order. (ie: Descending becomes ascending, and vice versa).
initializer
protected
void
initializer
(
)
Sets up the default function to use when the "sort" event is fired.
resort
void
resort
(
)
Resorts the recordset based on the last-used sort parameters (stored in 'lastSortProperties' ATTR)
sort
void
sort
(
field
,
desc
)
Sorts the recordset.
- Parameters:
-
field <string>
A key to sort by. -
desc <boolean>
True if you want sort order to be descending, false if you want sort order to be ascending