grid row with idd == 0 ignores key events and hover

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.

Unfortunately the usage of the “0” as the id of the rows is not available. Please, try to use another id.

Well, the documentation (http://docs.dhtmlx.com/grid__data_formats.html) states:

Perhaps the docs could be updated to avoid others encountering this undocumented limitation… I’ve wasted a fair amount of time.

Thank you for your note.
The docs will be updated to state that info.