Resizing of grid attached to Tabbar

Hello,

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.

Thanks,
Joe

Hello,

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

dhtmlxTabbar/samples/05_components/01_grid_inside.html