Resizing of grid attached to Tabbar


I have a Grid attached to a Tabbar. I want the grid inside the tabbar to automatically resize and fill the container when I make the Tabbar wider.

I’ve tried a few different things. I’ve set tabbar.enableAutoReSize(true). I’ve set grid.enableResizing to true for all the columns in the grid.

I didn’t see an event for the resizing of the tabbar. Is there one? If there was one I could then resize all the columns on the event.



you may use attachGrid method for grid initialization. In this case grid will resize with parent component: