Categories | Question details Back To List | ||
OnDynXLS Hi, First ignore my previous question - There was a typo in the spelling of the attachEvent (this typo was copied from the answer I got...) My problem now that the handler function attached to onDynXLS is not called (I added an alert). The data is loaded (>15k rows), and smart rendering is working but the handler is not called. Here is my code: mygrid.enableSmartRendering( true);mygrid.attachEvent( "onXLE",updateNumberOfLines);mygrid.attachEvent( "onDynXLS",function(pos,count){alert("onDynXLS"); return false; });mygrid.init(); mygrid.loadXML(gGridQuery, function(){ mygrid.setSizes(); });==> Do you know how I can fix this? Thanks, Michal Answer posted by Alex (support) on Jan 11, 2010 05:34 Hello, onDynXLS event is called only in case of dynamic loading "pos" and "total_count" attributes in the rows tag: dhtmlxGrid/samples/14_loading_big_datasets/12_pro_srnd_load_notification.html In case of static Smart Rendering only onXLS event is called. |