headerSort

defines whether sorting on clicking headers of columns is enabled

boolean headerSort;

Deprecated

instead of it, you can use the sortable property:

var treegrid = new dhx.TreeGrid("treegrid_container", {
    columns: [// columns config],
    sortable:false,      data: dataset
});

Example

var grid = new dhx.Grid("grid_container", {
    columns: [// columns config],
    headerSort:false,      data: dataset
});


Default value:

true
See also
Back to top