Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by amhicraig@yahoo.com on Dec 18, 2007 09:11
open dhtmlx forum
function calling after grid completes loading

Is there a way i can call some function after the grid completes loading.I want to call a function that will calculate the total time taken for the grid to load.This i can do once the grid completes loading.How to do this ?
Answer posted by Support on Dec 18, 2007 09:51
There is onXLE event which fire when grid load data and fully parse it.
Also you can use more simple syntax

    grid.loadXML(url,function(){
          alert("This will be called only after data loaded and parsed");
    });