SMART datagrid v.1 > Types

Back  Forward

DataLudi.SortCase

Specify if enable case sensitive when compare text value during sorting columns. 

Values
SENSITIVE"sensitive"Case sensitive.
INSENSITIVE"insensitive"Not case sensitive.

Code -1
    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);
See Also
SortDirection
OperateOptions
GridBase.orderBy
GridBase.orderByFields