1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    3
    Vote Rating
    0
    nani123 is on a distinguished road

      0  

    Default Unanswered: Base on panel labels how to create dynamic columns editable grid its urgent plzzzzz

    Unanswered: Base on panel labels how to create dynamic columns editable grid its urgent plzzzzz


    Hi i am new to extjs

    i create 10 panels with different fields lables, text fields and combos,
    1)question is ---->how can i create dynamic fields in single panel,

    based on that how can i create dynamic Editable grid for that panel, it means panel have 5-fields now i want 5 same columns in grid also for that what i will do..

    2)another question,
    i have panel and grid,
    panel have combo box
    once i click the add button what ever fields (values)in panel that will read and display in grid row.
    how can i read key for that combo field and set to the grid combo box column (because i need to save the data what ever in grid row)


    now iam facing the problem is unable to get the key for combo box value.

    please help me...
    im waiting for your reply...

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,408
    Answers
    3549
    Vote Rating
    851
    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


    First question:

    I would get all the fields you created, keep track of the labels and then use that for the columns 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.

Thread Participants: 1