| Page 1 of 1 | [ 3 posts ] |
|
Hi all,
I am developing an application to let user manage records. I want to do this using YUI and this is what I have so far. When you go to the site it will load the page and the page is using the YAHOO.widget.Layout with the layout looking like this • Top: YAHOO.widget.MenuBar() • Center: this is were everything will load from the menu selection • Left: the login component • Footer: informational Now I have everything working at this point Now I load my ‘User Access Page’ after clicking on the link. The page is displaying YAHOO.widget.TabView(), this display fine. My problem is I cannot use any YUI widgets in the tab views, it does not format correctly can not see the style of the widgets. Can anyone help me with this or point me in the right direction, so I can continue developing this app. Thanks Charles |
Matt ParkerYUI Contributor
|
Hi,
Here's a starting point: http://developer.yahoo.com/yui/examples ... bview.html The key line is Code: myTabView.getTab(1).addListener("click", function() {myDataTable.onShow()}); As I understand it, the issue is that some widgets use computed styles when they're rendered, but if the tab (and thus widget) is hidden, there won't be any, so it doesn't display properly. The line of code above tells the datatable that the tab's just been made visible, and to do it's thing so it'll display properly. Matt |
|
Hi Matt,
thanks alot for your help... I have some before and after images to show you more details on what i am getting. I tried your line of code but it still did not work. Thanks again... thanks |
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group