Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Jan 23, 2009 10:36
open dhtmlx forum
please add onSubAjaxCreated and onSubAjaxLoaded

Working just like onSubGridCreated onSubGridLoaded but for Ajax
Answer posted by Support on Jan 26, 2009 02:03
It sounds as useful addition - please try to use attached js file instead of original one - the same addition will be included in next version of grid. 
Event provides two parameters - row ID and loaded data
Attachments (1)
Answer posted on Jan 26, 2009 03:46
I tested and it works OK, but I would like to get on callback function following parameters:

- sub grid object
- related row id
- related row index
Answer posted by ez on Jan 26, 2009 04:00
And one more suggestion: onBeforeSubAjaxLoad, onAfterSubAjaxLoad instead on one onSubAjaxLoad
Answer posted by Support on Jan 26, 2009 05:25
For which purpose you plan to use such events?
All types of sub_row fire onSubRowOpen when opening of sub-row initiated, so it possible to detect the moment when row opened and ajax loading initiated.