window resize

Dear Support,

I want to resize window object according to the grid width.

How can I resize a window object after the initializing?

Best regards,


there is no public method to resize window after initialization. But attachObject method allows to resize window according to container. The sample is attached (96.2 KB)

Thanks for the quick response.

I do not put the grid object directly in to the window object.

As first step I create layout for the dhtmlxwindow object and then I attach the grid in to the corresponding cell of the Layout object.

Unfortunately construction like:  Layout.cells(…).attachObject(Grid); does not resize the window object according to container/layout object.

It is possible to set size of the layout cell: … izing.html