Categories | Question details Back To List | ||
Can we maintain the tab style when attaching to Layout obj? Can we maintain the tab style when attaching to Layout obj? After using dhxLayout.cells("a").attachTabbar(); the Tab Style changed also no Header to layout panel? If i do dhxLayout.cells("a").attachObject("a_tabbar"), the tab style is fine, just need to rely on the window resize to may the tab size correct within the panel? or anyway to trigger LayoutReisze for the layout object? Answer posted by Alex (support) on Mar 26, 2009 07:53 Possibly the following will help in case of attachObject method: dhxLayout.cells("a").attachObject("a_tabbar"); var tabbar =.... dhxLayout.attachEvent("onResizeFinish",function(){ tabbar.adjustOuterSize(); }) Answer posted on Mar 26, 2009 17:51 Perfect, thanks Alex! This is what exactly I am looking for. However this adjustOuterSize() method is not available in the API doc. Is this an internal method used by the framework or just the API doc is not updated? (I noticed that's same version as 1.6 but not 2.1).
Answer posted by Alex (support) on Mar 27, 2009 07:26 adjustOuterSize is internal of tabbar component. It is not documented. Also there is another solution - to set the new skin after using attachTabbar() method: tabbar=dhxLayout.cells("a").attachTabbar(); ... |