Event on width grid or width LayoutCell change

Hi, I would like to get the width of the grid or cell layout constantly and thus, depending on the width make some visible columns of the grid.
I have 2 options, add an event either at the table or in the cell who’s who contains the grid but not how to apply the event.

Hi, you can use onSetSizes event of grid, this event is called each time when grid sizes are changed.

In case of layout, there is a onPaneResizeFinish event, which occurs when panel resize ends.
docs.dhtmlx.com/api__dhtmlxlayou … event.html

With the “onSetSizes” event it has worked perfectly. Thank you very much!