Categories | Question details Back To List | ||
sorting after reloading the grid Sorting works very well for the first time , I loaded the grid. Then I do a clearAll() on the grid and I reload the grid with the new data. This time, when I click on the header to sort any column, sorting does not work correct. I see incorrect sorting Answer posted by Support on Jul 17, 2008 05:46 Basically the sorting always works with actual data and must not be affected by grid reloading. If you are using filtering in same time , and older version of grid , it may be necessary to force filters clearing by mygrid.clearAll(); //clear filtering buffers mygrid._srowsCol=mygrid._srowsBuf=mygrid._f_rowsBuffer=null; mygrid.loadXML("... //reloading grid If problem still occurs - please provide any kind of sample where issue can be reconstructed - you can send it directly to support@dhtmlx.com |