Layout attach not working without header


omitting header property of layout cell works in suite 7 but not in 8 it as it looks like.
E.g. in this snippet, you will see grid when you set “header” but you dont see grid when you delete the header property in initalisation object:

is this a bug or by design? how can i use layout cell without header?

Hello, the ‘problem’ is in case you pass an id when you are creating the grid, like:

new dhx.Grid(“grid”, {…});

In this case the layout attaches the component by the body. If you want it to be attached to the layout cell, just remove the id, like this:

new dhx.Grid(null, {…});

Here is the updated example:

1 Like

My god such a simple solution, thank you so much!

1 Like