Specify if enable case sensitive when compare text value during sorting columns.
SENSITIVE | "sensitive" | Case sensitive. |
INSENSITIVE | "insensitive" | Not case sensitive. |
var DL = SMART datagrid
var cols = ['col1', 'col2'];
// If less than cols, it will follow the last value.
var dirs = [DL.SortDirection.DESCENDING];
// If less than cols, it will follow the last value.
var cases = [DL.SortCase.INSENSITIVE];
grid.orderBy(cols, dirs, cases);