attach grid to layout

why does this load an empty grid in a layout?

Hi

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:

rpt.grid.init();
rpt.grid.parse(data, “json”);

ok. it’s the correct way to init the dhtmlxGrid.