Hi, All -
Why do the following two blocks of code not produce similar results?
Code Block A:
var dhxLayout = new dhtmlXLayoutObject({
parent: 'parentId',
view: '4I'
});
Code Block B:
var dhxLayout = new dhtmlXLayoutObject( "parentId", "4I" );
The official documentation states that object notation should work as an argument passed to the dhtmlXLayoutObject. The documentation can be found here:
[url]Start DHTMLX Docs.
Code Block B is actually used as an official code sample and can be found here:
[url]http://www.dhtmlx.com/docs/products/dhtmlxLayout/samples/01_init/01_object.html[/url]
Thanks in advance.
Warm Regards,
xjohnson