Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tim on Aug 23, 2009 09:30
open dhtmlx forum
tabbars and grid.loadXML

Hello,

I am using dhtmlxTabbar with iframes. A few of the tabs have grids inside of them. My original solution was to reload the entire iframe to get grid data to refresh. Is there a way to access the grid objects inside of tabbar's, so I can refresh the grids and not the entire iframe?

I am able to change tabs like this:
parent.parent.a_tabbar.setTabActive("inventory");

I would like to be able to do functions to grids inside of other tabs..maybe something similar to this:
parent.parent.a_tabbar.ogrid.clearAll();

Thanks!
Answer posted by Alex (support) on Aug 24, 2009 00:37

Hello, 

to access objects inside tabbar iframe you can use tabWindow method:

var grid = a_tabbar.tabWindow(tab_id).gridObject;