Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Trevor Offord on Aug 13, 2009 10:03
open dhtmlx forum
Grid in tabbar does not resize 2.5b2

I have a layout with a tabbar in it with a grid inside the tabbar. When the outside layouts size changes the tabbar resizes correctly, but the grid inside the tabbar does not.
Answer posted by Alex (support) on Aug 14, 2009 01:34

Do you use attachGrid method to attach grid into tab ?

It can be done as follows:

var grid = tabbar._cells(layout.dhxWins,tabId).attachGrid();

Here layout is layout object, tabId - id of the tab where grid is placed.

dhtmlxtabbat_wins.js extention should be included to use attachGrid method