6 Jan 2012 4:59 AM #1
Unanswered: GridPanel using FieldLabel
I need a fieldLabel for my gridpanel.
Using isFormField: true and fieldLabel : "grid" isn't working like descriped here:
6 Jan 2012 1:10 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
fieldLabel only works with an Ext.form.field.Field subclass. What you could do is have a label or component class that is rendered to the left of the grid.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
8 Jan 2012 6:24 AM #3
could u pls post an example-code for the label solution?
9 Jan 2012 1:23 PM #4
15 Nov 2012 6:55 AM #5
would a better way be using a FieldContainer to wrap the GridPanel? Or would it be more lightweight to use the Ext.form.Labelable mixin? The doc says the mixin should only be used internally.