Unable to get edit event on cells in sub_grid_row grid

We are creating a sub grid programmatically through javascript and have run into an issue where double-clicking on a cell in the sub-grid does not trigger the edit cell functionality.

Referring to this javascript from dhtmlxgrid.js (appx line 1432, when script is unminified in google chrome):

this.obj.ondblclick = function(a) {
        if (!this.grid.wasDblClicked(a || window.event))
            return !1;
        if (this.grid._dclE) {
            var b = this.grid.getFirstParentOfType(_isIE ? event.srcElement : a.target, 
            "TR");
            b == this.grid.row && this.grid.editCell(a || window.event)
        }
        (a || event).cancelBubble = !0;
        if (_isOpera)
            return !1
    };

it appears that it fails at the “b == this.grid.row” check, because this.grid.row is always null when this event fires in the sub-grid. B is set to the proper TR element that the double click event fired on.

Any ideas what could be wrong here?

Unfortunately the issue cannot be reconstructed locally.

If issue still occurs - please, provide any kind of sample or open ticket at support.dhtmlx.com and provide a complete demo with the reconstructible issue.