cancel
Showing results for 
Search instead for 
Did you mean: 

Toggle Button in WD component

Ramapavani
Participant
0 Kudos

Hi All,

I have created one toggle button in table of WDC.For eg ; i got 5 records in table and toggle button was created for each and every record in table.When ever i click on toggle button of 1 st record in table it is giving me details of the particular record clicked.If i click on second record toggle button first record toggle button has to be closed automatically.How to proceed to acheive this functionality??

Your help is appreciated.

Regadrs,

Chandrapati Rama

Accepted Solutions (0)

Answers (1)

Answers (1)

mohammed_anzys
Contributor
0 Kudos

Hi

I guess you will be able to create the toggle button.It will not be a big problem.What you need to handle is , you need to identify , in which row the user has clicked.For this in the button action , there is an incoming import parameter WDEVENT..in this , you have a method ..get_context_element() ..which will fetch you the row element selected.

Thanks

Anzy

post if you have any more queries