from v4.6.1 and v5.0.2 dhtmlxgrid.js source code:
[code] _setRowHover:function(e){
var c = this.grid.getFirstParentOfType(e ? e.target : event.srcElement, ‘TD’);
if (c && c.parentNode!=this.grid._lahRw) {
this.grid._unsetRowHover(0, c);
c=c.parentNode;
if (!c.idd || c.idd=="__filler__") return;
for (var i = 0; i < c.childNodes.length; i++)c.childNodes[i].className+=" "+this.grid._hvrCss;
this.grid._lahRw=c;
}
this._honmousemove(e);
},
[/code]
if a row has id set to 0, then this test is true:
if (!c.idd || c.idd=="__filler__")
and hence hover does not show. I suspect what’s really meant is that c.idd is not undefined
Keypress events are also not properly handled with a row of idd == 0
So it appears that using 0 as the id of a grid row does not work properly due to using a boolean test on c.idd.
Can we get this fixed? Thanks.