new SortOrder(options) → {Array}
- Source:
Creates a sortOrder
array
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | configuration options Properties
|
Returns:
- Type
- Array
Methods
add(objnon-null)
- Source:
Adds another column to be sorted
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
obj |
Object | object describing sorting Properties
|
getCell(columnIndexnon-null) → {Object}
- Source:
Returns an array containing a cell
from the table and a reference cell (refCell
) from the floating header if any
Parameters:
Name | Type | Description |
---|---|---|
columnIndex |
Number | index of the column from the array of columns from |
Returns:
- Type
- Object
remove(column, index)
- Source:
Removes a column from sortOrder
Parameters:
Name | Type | Description |
---|---|---|
column |
Number | column index as reference to the item to be removed. |
index |
Number | index of item in |
replace(objnon-null)
- Source:
Replaces all items in sortOrder
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
obj |
Object | object describing sorting Properties
|