Tabbar and attachGrid() problems

Hello,

I am trying to load a grid in a tab of a tabbar. I keep getting an error that the "tabbar.cells(…) is null. However, if I put a breakpoint on this line and then the code stops there and I continue after that then the grids appear in the tabbar as they should. If I remove the breakpoint then I get the error again.

Any ideas?

Thanks a lot!

Please, provide us your code with tahhar init and grid attachment