Categories | Question details Back To List | ||
dhtmlxgrid, dhtmlxtoolbar, dhtmlxtabbar combination of the three issues In these pages there is a three dhtmlxtabbar tab. Each of the tab under a corresponding dhtmlxGrid. I have a line at the top of the page dhtmlxtoolbar (of which there are increasing deleted, features, etc.). I think all of them dhtmlxgrid tab dhtmlxtoolbar shared among the functions of dhtmlxgrid to operate. Question: When I select a different tab when and how to determine the current tab dhtmlxgrid among the targets. I hope to answer, there is the best source. Answer posted by Support on Dec 29, 2008 17:40 >>when and how to determine the current tab dhtmlxgrid among the targets.
Tabbar has onSelect event which can be used to detect moment when active tab changed. There is no way to get direct grid reference from the tabId (unless you have used attachGrid interface from the tabbar ) , so you need to have some custom structure to store tabId - gridObject references. tabbar.setOnSelectHandler(function(id){ //will be called each time when active tab changed alert(id); }); |