cancel
Showing results for 
Search instead for 
Did you mean: 

to change table data runtime when dropdown item is changed

Former Member
0 Kudos

Hi,

I have two ui elements(Dropdown by index and table) in single view .

I need to display table as per drondown index item selection. Means i have to change table data runtime when dropdown item is changed.Please help me in that .Please provide code for same.

Regards,

gurprit Bhatia

Accepted Solutions (0)

Answers (3)

Answers (3)

PradeepBondla
Active Contributor
0 Kudos

HI,

in General we will write logic in "onSelect" method of dropdown by index. and its upto you how you populate data in table.

is it static data? are you are getting table data from BAPI/RFC?

regards,

Pradeep

PradeepBondla
Active Contributor
0 Kudos

Hi,

You have to write logic to populate

From where you want to populate table data? I mean when you are selecting an item in dropdown, which data has to populate in table?

p_willems
Explorer
0 Kudos

Hello gurprit Bhatia,

On the view create a new action. Fill only the Name and Text and leave the other items default.

In this event you can populate the table fields.

Bound this newly created action (event) to the onSelect property of the 'DropDownByIndex'.

Regards,

Patrick Willems