SMART datagrid v.1 > Classes > OperateOptions
If it is true, the user can do sorting by clicking column header cell.
Although you can set DataColumn.sortable property to specify whether individual sorting of each column is possible, you should specify this property value as true first.
Defaults to true.
grid.setOptions({
operate: {
sortingEnabled: true,
sortMode: DataLudi.SortMode.EXPLICIT
}
});
grid.setOperateOptions({
sortingEnabled: true,
sortMode: DataLudi.SortMode.EXPLICIT
});
grid.operateOptions().sortingEnabled(true);