PDA

View Full Version : How to refresh the view of TabPanel which is in items of Panel.



DineshGudikandula
28 Sep 2012, 10:00 AM
Hi All...


I have a tabpanel as a item in Panel.The TabPanel contain 3 tabs, add iconCls to every tab by programmatic and i want to apply the changed iconCls to the tabs by refreshing.(in iconCls i add image beside the tab name in tab ) .Plz....Help

mitchellsimoens
2 Oct 2012, 8:39 AM
What have you tried thus far?

DineshGudikandula
5 Oct 2012, 12:00 AM
Hi ...i got
by using setIconCls i change the tab icon....

But i have one more problem that is the tabpanel contain one fbar at bottom right corner which have toolbar as item to fbar,toolbar contain button with image.
fbar:[{
xtype:'toolbar',
items:[{
xtype:'button',
cls :'image1',
overCls:'image2'
}]
}]
My problem is that button have cls.overCls confige.
when i modify cls with using setIconCls('image3') .it is showing two images with overlapping.
And how to add the overcls to button programmatic .39166