attachToObject: dynamically append a grid to tab

How can I append a already initiated grid to a certain tab in a tabbar?



mygrid.attachToObject(tabid) doesn’t work.



Thanks for your help,

Chrissu

You can attach grid’s container as

tabbar.setContent(tabid,mygrid.entBox);

( also, layout provides the way to init grid directly in tab )