onSubRowOpen

Looks like onSubRowOpen is being triggered twice… Is there any reason why this snippet of code is listed twice in dhtmlxgrid_excell_sub_row.js ?



if (that.parentGrid)that.callEvent(“onGridReconstructed”,[]);that.callEvent(“onSubRowOpen”,[row.idd,(!!row._expanded)]);if (that.parentGrid)that.callEvent(“onGridReconstructed”,[]);that.callEvent(“onSubRowOpen”,[row.idd,(!!row._expanded)])};



When I put an alert on the onSubRowOpen event. I am getting 2 alerts each time I click to collapse or expand a subrow.



Thanks in advance.

This issue confirmed and fixes. Fix will be included at the next dhtmlxGrid version. If you need changes immediately please contact directly support@dhtmlx.com