22 Feb 2013 4:24 AM #1
How to get value from json response to store particular node in combo box in extjs4.1
I am getting response from webservice below type.can anybody tell how to create model class for getting subRegionName value and marketRegionName value? store it in different combo box.I need to store marketRegionName value in one combox and subRegionNamevalue in another combobox.can anybody tell how to do?
Last edited by vijayakumar84; 25 Feb 2013 at 2:28 AM. Reason: added question
24 Feb 2013 5:41 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can use associations. hasMany will take an array and make a store with it.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.