Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tanu Dua on Sep 14, 2009 21:27
open dhtmlx forum
Progress Bar when the grid is getting rendered

Hi,

I am using DhtmlxGridfromTable where grid is instantiated from HTML table and not from XML fie with distributed parsing enabled using the following code :

<table id="grid" name="grid" onbeforeinit="grid.enableDistributedParsing(true,5,50);"

It works fine but the user does not know when the grid has been entirely rendered , so we need to implement something like progress bar when the grid is rendered in chunks.Could you please help me how to implement this requirement and what are the callbacks provided by DhtmlxGridFromTable.

Note :

1) DhtmlxGrid is made out of table and not from XML.
2) We are using dhtmlxTreeGrid v.2.1 Professional edition

Thanks
Answer posted on Sep 15, 2009 09:31
You can use "onXLE" and "onXLS" event to fetch time of starting and ending data loading. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/14_loading_big_datasets/12_pro_srnd_load_notification.html. This will work for grid initialized from HTML table also.