A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
To limit no of character (30) in SuggestBox
Joined: May 29, 2008
Jul 11, 2011 09:08:35
I have one SuggestBox populating data from database. also user can manually add text into the same.
I want to restrict no of character in SuggestBox is 30.
I used the method
suggestbox.getTextBox() method but no avaliable method are available like setmaxlength() or like
Any suggestion is highly aapreciated
Joined: Jul 26, 2007
Jul 12, 2011 03:42:50
suggestbox.getTextBox() returns you a TextBoxBase. Maybe you can try casting it to TextBox and then invoking setMaxLength() on it
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: To limit no of character (30) in SuggestBox
One last problem
Text file to string and vice versa
Uploading file in a folder under context root problem
(GWT) Forcing SuggestBox to display its values
How to get selected item's ID from suggestBox?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014