why does this load an empty grid in a layout?
You’re initing grid in incorrect way. Could you please provide a link from where you’ve got this info?
I can’t recall other than somewhere in the documentation; I’ve since fixed it with:
ok. it’s the correct way to init the dhtmlxGrid.