dhmtlxLayout constructor throws exception.

I am trying to initialize a dhXlayout object , but the constructor fails.

[code]

[/code]

But the constructor fails. The VS debugger shows me “Invalid Argument” error on this line(in dhtmlxlayout.js)

td.style.width = tdW+“px”; (with tdW = -2).

What is the problem ?

instead of

Moreover make sure that ssDhxLayout = new dhtmlXLayoutObject(“layoutx”,“2U”); is called after the layoutx container is created.

Thanks, I figured it out.
Was a really silly syntax error in style attribute to include ‘=’ in place of ': ’ :frowning: