Tabbar, autosize and Grid

I have a Tabbar set on autosize. First problem I have is that when I load the first tab, it does not autosize yet.

Similarly, Inside a tab, I get a Grid which height adapts to its current number of rows. When I add a new row, the grid resizes, but the containing tab does not.

Am I missing something? Is there a way to force a recomputation of the ideal height of the tab according to its current content?

I forgot to say, the Tabbar’s content is initialized from HTML markup

I get a Grid which height adapts to its current number of rows. When I add a new row, the grid resizes,

Tabbar autosize can not be used with dynamic content. You may try to call tabbar.cells(tabId).autoSize() after grid row is added. Possibly it will solve the issue.

That did the trick. Thank you :smiley: