Skip to Content
0

TextEdit Field cursor placement

Apr 17 at 09:48 AM

36

avatar image
Former Member

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

Hi Sanjay,

We are also facing the same issue .we tried to use Input field instead of text edit but in that condition on request focus
full text present in TextEdit is Selected only.

Kindly let me know if something worked for the same.

Thanks in advance.
Viplove Diwan

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Nick Rankin
Apr 17 at 10:50 AM
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
Apr 17 at 12:00 PM
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