how scalable grid ?

I have grid with image and how fix this ?
image.png

i try setHeight(“1000px”) but without changes

Make sure that the parent of the grid has appropriate height.

parent of the grid ? what does mean ?

i have
grid2.setHeight(“1000px”);
image.setWidth(“400px”);
image.setHeight(“400px”);

The layout where you have added the grid into