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!


Hello,


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


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