Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 18, 2008 12:59
open dhtmlx forum
loading progress bar of subgrid

I want to display a loading progress bar which is a .gif file while the sub grid is being loaded. How do I do it?
Answer posted by Support on Mar 19, 2008 01:58
The latest version of "sub_row" excell (attached file) provides "onSubGridCreated" and "onSubGridLoaded" event handlers, which can be used  to show/hide loading image.

For example:

mygrid.attachEvent("onSubGridCreated",function(subgrid_obj){
      
    showImage();
   
    return true;
})

mygrid.attachEvent("onSubGridLoaded",function(){

    hideImage()
    return true
})

Where showImage() and hideImage() are some your functions.

Attachments (1)