Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Vote Rating

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts