cancel
Showing results for 
Search instead for 
Did you mean: 

change visibility of tabstrip at runtime

Former Member
0 Kudos

Hi,

I bind a context node attribute to the visible attribute of a tab to control its visibility. The type of the node attribute is WDUI_VISIBILITY and the default value is 01. However, the tab is always present. It should be invisible initially.

Best regards,

ts

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

The initial value of visibility is True(Visible). Set the visibility to abap false(CL_WD_TABSTRIP=>E_VISIBLE-NONE) in the WDDOINIT method to hide it initially.

Regards,

Kiran

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi ts,

If you have bound the visibility of TABSTRIP to context attribute ATTR_VIS of type WDUI_VISIBILITY and set the default value to '01'. It should hide the tabstrip

Check the below points to:

Make sure that the visibility property of tabstrip bound to the attribute

Make sure that the value of attribute ATTR_VIS not set to 02 some where in your code.

Hope this helps you.

Regards,

Rama