Categories | Question details Back To List | ||
grid.getCheckedRows(1) returns wrong number in SmartRendering mode. I am using version 1.6 when I load dhtmlXGridObject with a selected xml(xml with all nodes selected) getCheckedRows(1) method returns me only a sub set of those selected nodes. (only visible nodes I think). am I missing something ? is there an event gets fired after the smart rendering is complete, so that I can check rows after that. Answer posted by Stanislav (support) on Dec 11, 2009 01:37 Before executing operation, try to call the next code snippet for ( var i=0; i< grid.getRowsNum(); i++) This code will pre-render all rows in grid, so next api call will be executed against the full dataset. Answer posted by Sanju Thomas on Dec 11, 2009 02:16 is there any event gets fired after the completion of rendering ?
Answer posted by dhxSupport on Dec 11, 2009 04:48 List of all grid's events available here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:events Answer posted by Stanislav (support) on Dec 11, 2009 05:52 onXLE can be used as end-of-loading event, but in srnd mode the rows stay un-rendered until they are moved in visible area Answer posted by Sanju Thomas on Dec 11, 2009 05:56 Thanks, I poped up the selected rows in the xml and excuted grid.render_row(n) only for those rows. For all selection I managed it with all checked xml and a flag to let the server know that the user checked all. |