SMART datagrid v.1 > Classes > OperateOptions
It specifies whether to automatically rerun column sorting when the data of Data Set which has been connected to Grid is changed.
It is specified by SortMode constant. If it is AUOT, the grid will sort again automatically, and if it is EXPLICIT, it will sort again only when the user clicks the column header cell.
Defaults to SortMode.AUTO.
grid.setOptions({
operate: {
sortMode: DataLudi.SortMode.EXPLICIT,
sortingEnabled: true
}
});
grid.setOperateOptions({
sortMode: DataLudi.SortMode.EXPLICIT,
sortingEnabled: true
});
grid.operateOptions().setSortMode(DataLudi.SortMode.EXPLICIT);