« Return to Thread: setEnable on TabItems

Re: setEnable on TabItems

by Cyril Balit :: Rate this Message:

Reply to Author | View in Thread

Fred,

It is because you ask me for a specific style for disable tab
(http://tech.groups.yahoo.com/group/rialto-dev/message/1641).
As i mention i add "Disa" classname. By default the style is the
unselect tab but you can change it in your css. By the way this style
doesn't matter if the tab is selected or not.

Maybe i missunderstood you first querry.

Cyril

--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:

>
> Hi Cyril,
>
> It seems that the setEnable function's behaviour concerning tabItems
> has changed.
> Calling the setEnable function on an active (selected) tab changes the
> tab's style to not selected.
> Here's an example of what I'm telling:
>
> myFolder = new
>
rialto.widget.TabFolder({name:'myFolder',top:0,left:0,parent:document.body,widthItem:120,autoResizeTab:false,isClosable:false,draggableItem:false});
> adminFolder = myFolder.addTabItem('Admin',true);
> auditolder = myFolder.addTabItem('Audit',true);
> myFolder.activeTab(0);
> adminFolder.setEnable(true);
>
> the adminFolder's style should still be 'active'.
>
> Fred
>


 « Return to Thread: setEnable on TabItems

LightInTheBox - Buy quality products at wholesale price!