cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic display coloumn by Button Click

Former Member
0 Kudos

Hi All,

In my View i had a group Element ,there i created 5 UI elements like inputfields,textview,Linktoaction ..

in the next row i had a Button "Add more".

when i click that button i need to display the above 5 fields in a colounm.

how can i get that coloumn?

please provide any links/steps..

Thanks,

Raju.

Accepted Solutions (0)

Answers (2)

Answers (2)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

to get all the UI elements in one column you have to work with Layouts.

Change the Layout Property of the group to MatrixLayout and all the 5 elements LayoutData to MatrixHeadData

and use visible property to make the entire group visible

Abhi

Former Member
0 Kudos

Hi,

First create a node which has an attribute of type wdui_visibility.

To each of the elements Visible property in the layout bind this node.

In your onaction<button> method write the code

call method lo_nd_visibility->set_attribute

exporting

value = '02'

name = 'VISIBLE'

.

'02' sets things visible, while '01' makes it invisible.

Rewards if Helpful.

Regards,

Prosenjit.