cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic show TAB in TABSTRIP

former_member429661
Participant
0 Kudos

Hi Guys,

I want to dynamicaly visible/unvisible a tab in a tabstrip.

Therefore i bound the property "visible" to a content attribute.

...but it didn't works. Is there a trick or somethimg what i have to notice to come to my expected result ?

Ths in advance

--Bernward Henkel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Same thing you need to follow as you are doing. But are you setting value of your attribute(Hide/show based on condition) which is bind with the visible property of Tabs.?

If yes, Then where you have written the code of setting value, Modifyview ?

BR

Chandra..

former_member429661
Participant
0 Kudos

Hi Guys,

i found the problem by myself. The solution is pretty easy. Don't bind the visible-property to a context-element which is defind as WDUI_VISIBILITY. Bind it as boolean!!!

@Chandra

I set the visibility property in the init-method!

Former Member
0 Kudos

Its good you got the solution..

One i would like to share you. Doinit() method of view will triggered only once when the view got load in the window(first time). suppose you are having a application with multiple view then, and you can be come to same view more then one time from some other link also then in that case INIT() method won't work.

BR

Chandra..

Answers (0)