Hi,
I’ve been struggling with an error when changing from view ‘def’ with a layout pattern of “1C” to a view ‘deta’ with a layout pattern of “2U”.
inlyt = new dhtmlXLayoutObject(document.body,"1C");
inlyt.cells("a").showView('deta');
inlyt2 = inlyt.cells("a").attachLayout("2U");
frmServicio = setFormServicios(inlyt2.cells("a")); //simple attachForm
gdServicio = setGridServicios(inlyt2.cells("b")); //simple attachGrid
inlyt.cells("a").showView('def');
Everything there is fine, but when I do the following, on button click
inlyt.cells("a").showView('deta');
I get error
TypeError: this.dataObj.cdata[a] is undefined
…)}else{if(this.dataObj.conf.mode==“v”){var a=c;if(this.dataObj.cdata[a].conf.col…
(firebug’s error arrow points to “var a=c”)
Please help.