Hi
Can Anybody let me know how to disable sorting of rows on Clicking the header of the Treegrid . Kindly let me know as my first element goes right to the bottom of the grid on clicking the header
Thanks in Advance
You can enable|disable sorting for any column by
grid.setColSorting(…
for example
grid.setColSorting(“na,str,int,na”);
will define sorting as
first column - not available
second column - as strings
third column - as numbers
4th column - not available
How to disable the Sorting for blank grids … I.e if i sort the blank grids comes right on top and the the grid with values goes to the bottom
This can be caused by sorting rules - empty strings and numbers couted as lesser values, so in case of ASC sorting they coming to top.
You can create custom sorting functionality which will work in any custom way- please check
samples/pro_sort.html