25 Nov 2012 9:59 AM #1
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..
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...
27 Nov 2012 6:48 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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
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 firstname.lastname@example.org
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.