Hi,
I imported the library dhtmlxlayout_pattern4j.js.
If I include the js this order:
[code]
[/code]I got:
ReferenceError: dhtmlXLayoutObject is not defined
…olspan=“3”/><cell obj=“b” wh=“1,3” resize=“ver” neighbors=“a;b;c,d” c…
dhtmlxlayout_pattern4j.js (riga 8)
Even with the error I’m able to load the layout when called.
If I switch the order the error disappear but I’m not unable to load the layout:
var layout;
var layout = dhxWins.attachLayout('4J');
var cellCustMeeting = layout.cells('b');
cellCustMeeting.setText('Clienti');
ypeError: cellCustMeeting is null
cellCustMeeting.setText(‘Clienti’);
I can avoid the error?
Thanks in advance