Categories | Question details Back To List | ||
How do I determine if SmartRendering field is loading data? Is there a method that shows if the current SmartRendering grid is loading more rows? I need to be able to disable the call to updateFromXML() if it is otherwise I get duplicate data. Answer posted by dhxtSupport on Mar 13, 2009 11:19 You can use "onXLE" event which fired simultaneously with ending XML parsing, new items already available in grid. Event store information about grid object and count of rows added. This event is availible at PRO version only Answer posted on Mar 13, 2009 13:32 Using onXLE and onXLS should give me what I need but I find that onXLE does not always get triggered. I have put events in my code with one adding to a counter and the other subtracting. I should be at 0 after all events are done but uless I scroll through the grid slowly I always wind up with a value greater than zero. The button I have to refresh the grid with updateFromXML() is disabled when onXLS is triggered and enabled when onXLE is triggered. Somehow I have more onXLS's then onXLE's. Do you have a work around for this situation? |