cancel
Showing results for 
Search instead for 
Did you mean: 

Event for text view

Former Member
0 Kudos

Hi Experts,

Is it possible to trigger an event , such that when one of the data in textview is double clicked , in the event i want to capture the value of the data

that was double clicked , for example if I have a data '20' , it should trigger an event when it is double clicked and in the event is should be able to hold the value of 20

and pass this to some local variable for further processing .Please let me know if this is possible .

Note: TextView is created dynamically

Regards,

Sanju

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sanju,

As per my knowledge there is no action available for Text view in Web Dynpro for ABAP.If you want to know about this you can check in this class CL_WD_TEXT_VIEW here you dont any have method of thpe Event Handler.

Also check properties of Text view you dont have any action for this UI element.

Thanks

Suman

Former Member
0 Kudos

Hi Sanju,

Since Text views doesn't haveany events.You can achieve the same using input field with disabled option.

Try in this way and let me know any issues u have.

Thanks

Suman

Former Member
0 Kudos

Hi Suman,

Thanks for your reply, but i achieved this using Formatted Text View.

Regards,

Sanju

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There are no events tied to a textView. It is just plain text output and not intended to be used in any interactive maner. Why not use a linkToAction instead?