I’m using a TextItem in SmartGWT and I want to update the cursor position in that text field when a user clicks on some button.
Is that possible?
In general, is there a text field widget that is not part of the form package in SmartGWT?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use TextItem.setSelectionRange() with start and end the same.
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/widgets/form/fields/TextItem.html#setSelectionRange%28int,%20int%29