How to dynamically adjust grid height?

I’m trying to put several AG Grid instances on a single screen, so I’m making them pretty small.

In some cases, the table is empty, so I’m setting the height to be very small.

But, if I dynamically add a row to such a table, it isn’t visible, because the grid is so small.

How can I dynamically change the height of an existing AG Grid when I add a row to it?

Hello @zack_nc,

The best way would be to adjust the height in the style with either the same callback, or another clientside callback.

1 Like