Skip to Content
0

TextEdit Field cursor placement

3 days ago

16

avatar image

Hello Experts,

How to set or move the cursor position manually inside the TextEdit UI element ? current issue what we are facing is "We have a TextEdit and we set the focus on click of button which sets text to the TextEdit UI Element but immediately after this the cursor moving to start of the TextEdit".

Regards,

Sanjay.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Nick Rankin
3 days ago
0

Hi Sanjay,

Is the TextEdit field a WebDynpro Unified Rendering element? Are you on the latest patches for the Unified Rendering Framework?

Best regards,

Nick

Share
10 |10000 characters needed characters left characters exceeded
Ervin Szolke
3 days ago
0

Hi Sanjay,

if I understand right you would like to set the cursor to a specific position inside a TextEdit.

I am not sure this is possible. I also played around with this using the same workaround by setting the focus (with requestFocus()) and setting a test text, but the cursor is always at the beginning of the TextEdit.

Cheers,

Ervin

Share
10 |10000 characters needed characters left characters exceeded