Columns.sortable
configurationIf set to true the user could sort this column by clicking its header cells. By default sorting is disabled.
columns.sortable
Boolean|ObjectDefault: false
columns.sortable.compare
FunctionA JavaScript function for comparing the values.
- If the first argument is less than the second one, returns
-1. - If both arguments are the same, returns
0. - If the first argument is greater than the second one, returns
+1.