Working just like onSubGridCreated onSubGridLoaded but for Ajax
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
dhtmlxgrid_excell_sub_row.zip (2.46 KB)
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
And one more suggestion: onBeforeSubAjaxLoad, onAfterSubAjaxLoad instead on one onSubAjaxLoad
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.