Categories | Question details Back To List | ||
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 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. Initiaaly i constuct a grid with 30 rows and 10 columns . As per the requirement it should be blank . But I input First 3 rows and click on the sort option then the blank rows comes up which should not happen . How to avoid that Answer posted on Jul 04, 2007 12:25 By default empty rows also included into sorting ( basically grid doesn't know is they empty, or blank values has some meaning ), and in case of ASC sorting - blank rows threated as rows with lesser values and come to top. If you need to define some other sorting rules ( exclude empty rows for example ) - you can define custom sorting. Please check samples/pro_sort.html ( this functionality available in both PRO and Standard editions ) Answer posted by krzak on Nov 27, 2007 16:31 where is "pro_sort.html" in standard version ? I cant find Answer posted by Support on Nov 28, 2007 02:00 Please refer to http://dhtmlx.com/docs/products/dhtmlxGrid/samples/rows_columns_manipulations/pro_sort.html Answer posted by Embre (Support) on Nov 29, 2014 08:27 I hope this information will be enough for you. But you also can have a look at ajax color picker and date picker. |