Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kunal on Nov 11, 2008 05:37
open dhtmlx forum
differents events for grid with subgrid

hello,

I want to use grid with grid in my code also loading this grid using custom xml format..

Please tell me the different events associated with such grid with grid...

also a provision to load such grid using custom xml string... ie xmlb format..
Answer posted by Support on Nov 11, 2008 05:49
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Sub_rows_new_data_dim.html#grid_subrowsndd

There are two events - onSubGridCreated and onSubGridLoaded which can be used to customize subgrid behaviors and attach necessary event handlers to subgrid.

>>also a provision to load such grid using custom xml string... ie xmlb format..
mygrid.attachEvent("onSubGridCreated",function(subgrid){
    subgrid.parse(custom,"xmlB");
    subgrid.callEvent("onGridReconstructed",[])
    return false; // block default logic
});