Categories | Question details Back To List | ||
dhtmlxgrid + tree element + paging = sorting does not work Hi, I am using a dhtmlxtreegrid component (pro 1.3) and I am building a grid with a tree element whose root values are integer and the second column are string. I am also using paging. When I try to sort whether one or the column, it only sort the current page instead of all previous data loaded (like in a standard grid). Moreover, let's say I am on page 3 and I tried to sort column 2, if I clic to go to page 1, I lost all the paging and restart from page 1. It's all the more unconvenient that I use autoloading and if I clic to get the second page, the grid ask for data to the server and append them to grid result which already contain those data (because even though it reset my paging, it still kept the loaded data in memory). I hope I made me clear. Finally, the sort for date type is different between the grid and the tree object. I have void value in my column ; with the grid it sorts it well, but with the tree object it doesnt and I get a dialog box with this message "Incompatible date format.Sorted as string". You really should have implemented the same algorythm in both component. Answer posted on Jun 11, 2007 19:16 TreeGrid not support paging. Such modes as paging and smartRendering available only for plain grids, they will not work correctly in treeGrid mode. >>Finally, the sort for date type is different between the grid and the tree object. Problem confirmed and fixed, fix will be available as part of next build. If you need it ASAP - please contact us directly at dhtmlx@scand.com, I will provide you some kind of update. Answer posted by Nadine (Support) on Dec 07, 2014 04:22 I hope this information will be enough for you. But you also can have a look at js gantt chart and ajax ui. |