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 ?

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”);
    });