cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive Table

Former Member
0 Kudos

Hie peoples,

             I created a normal table in display format. In that I want to create hotspot for one of my column , In that if anyone click on that column a view gets open by displaying detail information about that row. How can I do it.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Create a new column or replace any old one by Linktoaction UI element and then create a new view and some UI element according to your data which need to be shown in pop-up and one window, and bind new view in that window. and then read the row by using

In new view..

DATA lr_element TYPE REF TO if_wd_context_element.
  
DATA lv_index type i.
   lr_element
= wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
   lv_index
= lr_element->get_index( ).

index will give you the row on which you have clicked.

Now in view, read the Itab and using index find the all data.

and now on LinkToaction call pop-up and pass the newly created window name,..

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks All of u for your valuable support

Former Member
0 Kudos

can we show our data on link to action UI element in Table .

Thanks and Regards,

Mandar Gavkar

Former Member
0 Kudos

dear, you should try these all small small things, it won't take much time to develop but it will clear you concepts. yes we can show.

Former Member
0 Kudos

Change the UI Element for the required column from 'TextView' to 'LInkToAction' and in its OnAction write code for opening popup.