cancel
Showing results for 
Search instead for 
Did you mean: 

Expand All and Collapse All functionality on table

former_member225041
Participant
0 Kudos

Hi Experts ,

I have populated a table UI element in my webdynpro application. I want to use Expand All and Collapse All functionalities for table columns /rows .

Is webdynpro having any standard UI element which will perform Expand All and Collapse All operation on table ?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use Tablepopin Ui element and follow this procedure,

You could add a table column with LinkToAction, Button, ToggleButton or ToggleLink with an action that switches the value of the "selectedPopinID" attribute between "" and "<popin-ID>".

This way you can expand/collapse the popin for each row by pressing this button.

Refer this [BLOG|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b06c8c9a-19a4-2b10-d985-9ae7a4383478&overridelayout=true]

Regards,

sunaina Reddy T

Answers (1)

Answers (1)

former_member192434
Active Contributor
0 Kudos

You need to use table popin UI Element.Popins are insertions between the rows of a Table, which may refer to a row or individual cells Correspondingly a popin can be linked to the table for a row popin and to the TableColumn for a cell popin. With a cell popin the associated cell is assigned the background color of the popin so that you can see that they belong together. The UI element TablePopinToggleCell is provided for expanding and collapsing the TablePopin.

[How to implement TablePopin |https://wiki.sdn.sap.com/wiki/display/WDJava/Howtoimplement+TablePopin]

Hope it will help u

Thanks