Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve Schreiner on Dec 29, 2008 08:21
open dhtmlx forum
open subgrid using javascript

When I have a grid and the user clicks the + image on the row, then the call to populate the subgrid occurs. What javascript function is being called to initiate the fetching and opening of the subgrid when the + image is clicked?

Answer posted by Support on Dec 29, 2008 16:22
There are a lot of inner methods involveed
If you are using subgrids ( not just plain subrows ) you can use onSubGridCreated and onSubGridLoaded events , first one occurs exactly before data loading in subgrid ( returning false from event handler may block data loading - so you can implement any custom data loading method )

http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Sub_rows_new_data_dim.html#grid_subrowsndd