grid in tabbar

Hi

I have a tabbar having 3 tabs inside it

The contents of each tabbar is a dhtmlxgrid.

How to get the contents of the grid?

Is it possible to trigger the tabs change from an button outside the div of tabbar?

Hi,

How to get the contents of the grid?

Please see grid documents.
It possible to serialize grid:
docs.dhtmlx.com/doku.php?id=dhtm … ialization
Or iterate over grid rows and get cell content:
docs.dhtmlx.com/doku.php?id=dhtmlxgrid:iterating

Is it possible to trigger the tabs change from an button outside the div of tabbar?

Yes, you can use setTabActive method:

docs.dhtmlx.com/doku.php?id=dhtm … ttabactive

Thanks Alexandra,

My question was to get the contents of the grid inside the tab?
Is that possible.?
If yes then is it possible to access the contents just by referring the gridobject

For Ex
tabbar - tab1,tab2,tab3
tab1 has grid1

so if i want to access the contents on an action outside the div(like button etc), do i need to read the contents as tabbar.tab1.grid1 or directly grid1?

Hello,

There is not possibility to grid object via tabbar API. attachGrid() method returns reference to Grid object that you can use.

Hi i want to adda dhtmlgrid content to a tabbar via xml

The below example is for a adding a image please let me know how to add an grid

<?xml version="1.0"?> Tab 1-1 <![CDATA[]]> Tab 1-2 <![CDATA[]]> Tab 1-3

Hi, AnupPatil
Here is a sample for you:
dhtmlx.com/docs/products/dht … nside.html