I am using ExtJS 4.0.7 cell editing grid that gets populated using XML data.
I intend to show combo as an editor for a column. Each combo in each row must have its individual store populated from the data from XML.
How can i do this in ExtJS?
What must be the format of XML that i send?

scottmartin

27 Sep 2012, 5:39 AM

Here is a good example:
http://www.sencha.com/forum/showthread.php?238021

Scott.

harman

3 Oct 2012, 5:06 AM

Thanks Scott but my question was a little different.
I know we can populate a combo store like that. All i wanted to know is
Within XML how would every individual combo recognize its own store, as each store needs to have different values.
The editor combo in first row might have option1 , option2 and option3
while the combo in second row might have option 3, option5, option6 and so on.

scottmartin

3 Oct 2012, 6:08 AM

Do you have any data to distinguish the records? You could load the XML into each store and set a filter. See the following example:

I wont have clue of what data would be coming from the DB so cant filter anything.
Its like i fetch different player names to show in combo box and every row represents a different game.
I dont know what all game's records would come to UI.
:(
So all i can do is create a separate store for every combo.
OR
I can populate the combo store from the main store's record corresponding to the row index of the cell clicked.
Something like