cancel
Showing results for 
Search instead for 
Did you mean: 

TextEdit Field cursor placement

Former Member
0 Kudos

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.

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Answers (1)

Answers (1)

nickrankin
Contributor
0 Kudos

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