Categories | Question details Back To List | ||
Render Grid on Demand Hi , We are using DhtmlxGridFromTable in which grid is made out of the table with groupBy on 1st column. Since groupBy is used on the first column , it provides the expand/collapse functionality with the no of records loaded. Is it possible in DhtmlxGrid that on page load, grid is not loaded with data and only when the grid is expanded (feature provided by groupBy) , the grid is loaded and rendered on demand. Thanks. Answer posted by dhxSupport on Sep 16, 2009 04:48 It can be done only with dhtmlxTreeGrid extension. You can load treeGrid's sub notes dynamically only after pressing "+" button. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxTreeGrid/samples/01_initialization_loading/03_treeGrid_load.html http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxtreegrid:dynamical_loading_in_treegrid Answer posted by Tanu Dua on Sep 16, 2009 05:45 Thanks for the example.But I have two queries related to this : 1) Grid and the kidsGrid is created from the XML , but in my case Grid is made out of the table .Is it possible also when grid is made out of table.If yes , is there any example ? 2) I am using gropuBy on one of the columns , is it possible to use groupBy ? Thanks Answer posted by dhxSupport on Sep 16, 2009 07:41 1) Unfortunately there is no way to initialize treeGrid from the table 2) It's impossible to do with groupBy() functionality. The only way load sub node on demand is to use treeGrid. |