Categories | Question details Back To List | ||
access tab grid control from another tab hi, i have 2 tabs, in first tab i have a grid control, when user select any row in the grid i open another tab inorder to update details for selected row, after update i need to refresh first tab grid control. How to reference grid control which in 1 tab from second tab ? if you have working example, send me pls. Answer posted by Alex on Apr 20, 2009 07:18 Hello, we don't have a ready sample. But possibly the following information will help. If both grid are on the same page (you don't use iframe-based loading mode for tabbar), there is no any special approach - just use objects of intialized grids. But if you use iframes loading mode, you must take iframes into consederation. In this case you can use the following approach inside the iframe of the 2nd tab: var tabbar = parent.tabbar; /*tabbar object*/ var grid1 = tabbar.tabWindow(tab1_id).grid1; /*grid object*/ Answer posted on Apr 20, 2009 11:30 Perfect, its working thanks Alex |