1. #1
    Sencha User
    Join Date
    Dec 2009
    Posts
    80
    Answers
    1
    Vote Rating
    1
    muselmanach is on a distinguished road

      0  

    Default Unanswered: GridPanel using FieldLabel

    Unanswered: GridPanel using FieldLabel


    I need a fieldLabel for my gridpanel.
    Using isFormField: true and fieldLabel : "grid" isn't working like descriped here:
    http://www.sencha.com/forum/showthre...Label-question

    any ideas?

    thx
    muselmanach

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,812
    Answers
    3467
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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 Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Posts
    80
    Answers
    1
    Vote Rating
    1
    muselmanach is on a distinguished road

      0  

    Default


    could u pls post an example-code for the label solution?

    thx

  4. #4
    Sencha User
    Join Date
    Dec 2009
    Posts
    80
    Answers
    1
    Vote Rating
    1
    muselmanach is on a distinguished road

      0  

    Default


    up

  5. #5
    Sencha User
    Join Date
    Jun 2008
    Posts
    138
    Vote Rating
    7
    jchau is an unknown quantity at this point

      0  

    Default


    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.

Thread Participants: 2