Categories | Question details Back To List | ||
this.entBox.clientWidth Hello Support, "this.entBox.clientWidth" in IE return 0. and In FF returns some value say 672px for 4 columns. I got js error as invalid argument at this line in dhtmlxgrid_splt.js z.style.height = this.entBox.offsetHeight-wcor+(this._sizeFix||0)+"px"; I just debug and found that " z.style.height " gets negative value. This happens because "this.entBox.clientWidth" retuns 0. How to resolve? Answer posted by Support on Jun 13, 2008 02:08 >>This happens because "this.entBox.clientWidth" retuns 0. Such situation can occur only if you initialize the grid in split mode inside a hidden container, or grid's container has zero size. Just init component when grid container in visible state, or set some fixed sizes to grid container via styles to resolve issue. |