Constructor
new module:ct-grid /sort /Field Sort Rule(sField Name, sSort Type, sSort Order)
Constructs a FieldSortRule
.
Parameters:
Name | Type | Description |
---|---|---|
sFieldName |
String | The name of the field that any data will sorted on. |
sSortType |
String | The name of the sort operand that will be used to perform the sorting. |
sSortOrder |
boolean | Whether the sort will be ascending or descending. |
- Implements:
Methods
get Column Id()
Return the id of the column that this sort rule is applied to.
get Field Name()
Return the field name this sort rule is applied to.
get Sort Order()
Return the order of the sort being applied.
get Sort Type()
Return the type of sort that is being applied.
needs Sort Type()
Indicates whether this sort rule requires a sort type.
set Sort Type(sSort Type)
Sets the sort type.
Parameters:
Name | Type | Description |
---|---|---|
sSortType |
String | The new sort type |