Reputation: 1438
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!
Upvotes: 1
Views: 2589
Reputation: 2059
Use TextItem.setSelectionRange() with start and end the same.
Upvotes: 3