cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Tables

Former Member
0 Kudos

Hi friends,

I m having a button, when i click dat button i should get a table on da same screen. how to do that.

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Renu,

1.Create a attribute in component Controler named textvisible with type com.sap.ide.webdynpro.uielementdefinitions.Visibility

2.Bind the attribute to the View.

3. Bind the attribute to the UIelement's Property Visibillity which you want to hide.

Check the condition which deside the visibility of that element in view .You can check it in view or component controler.

set the visibility as follows

String param=wdContext.current<node>Element().get<Param>();

If button clicked make visible:

if(param.equals("<value>")){

wdContext.current<node>Element().set<textvisible>(WDVisibility.VISIBLE);

}else{

wdContext.current<node>Element().set<textvisible>(WDVisibility.NONE);

}

See this thread:

Regards, Suresh KB

Answers (1)

Answers (1)

sid_sunny
Contributor
0 Kudos

Hi Renushree,

Set the visibility property accordingly.

Do reward points if it helps.

Regards

Sid