Windows - attach a Grid and Something else

I’m working with the Windows; and trying to attach a url with a Grid and some data;

when the window loads, the url data appears without problems, but the Grid is never created.

Can you help me with this issue?

Is a way to attach diferent content to a single window, example use the attachGrid method to attach the grid and load the url?


if you use attachURL method, you can create grid only inside the page that is loaded by this method.

Or you can place 2U layout into the window: url is added to “a” cell of the layout, grid - to “b” cell:

var layout = w.attachLayout(“2U”);
var grid = layout.cells(“b”).attachGrid();