View Full Version : Add custom widget on formPanel
Manuel Elaraj
25 Jun 2008, 6:04 PM
I am trying to add a Google SuggestBox object to the formPanel. However, I noticed that I would need to wrap suggestBox in class along that extends Field. Is there any sample code to do this. Or instructions?
Thanks,
Manuel
gslender
26 Jun 2008, 12:13 AM
simple. wrap in http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/form/AdapterField.html
Delete
28 Jun 2008, 2:24 PM
gslender,
Do you know if there's a way to make the AdapterField span the label and field columns (like a colspan=2 for tables)?
simple. wrap in http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/form/AdapterField.html
gslender
28 Jun 2008, 3:45 PM
No, I don't - the FormLayout is really doing this so perhaps extending and modifying is the only solution ????
I'd agree that this option would be nice ;-)
Delete
29 Jun 2008, 5:09 AM
Thanks, I'll look into the layout...
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.