A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
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!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: To limit no of character (30) in SuggestBox
(GWT) Forcing SuggestBox to display its values
Uploading file in a folder under context root problem
One last problem
Text file to string and vice versa
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