AttachGrid inside Tabbar

I am trying to attach a grid inside a tabbar - is it possible?

I have tried the following codes learned from your previous answers

But it doesn’t work. Please help.


attachGrid() method requires a little different approach:

1) First of all dhtmlxtabbar_wins.js and dhtmlxwindows libraries must be included.

2) And after windows initialization:

var dhxWins = new dhtmlXWindows();

you can apply the following:

var mygrid = tabbar._cells(dhxWins,“a2”).attachGrid();

Here “a2” is tab id where grid must be initialized