Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chrissu on Jan 13, 2009 11:42
open dhtmlx forum
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
Answer posted by Support on Jan 14, 2009 01:40
You can attach grid's container as 

tabbar.setContent(tabid,mygrid.entBox); 

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