I create a model and grid with one column and also use the arraystore to read the data. the data is
["DomesticA","AddonA","InternationalA","DomesticB"]. Though the arraystore reads for records in the designer, for some reason when it display in the grid, only the first character shows up, any suggestion?

dbspaceg

20 Feb 2012, 12:13 PM

I mean to say "
Though the arraystore reads four records in the designer, for some reason when it display in the grid, even though four records shows up, but only the first character or each record was display"

bharatn

20 Feb 2012, 1:59 PM

This always trips me off to. Use this for data

[["DomesticA"],["AddonA"],["InternationalA"],["DomesticB"]]

More at
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.ArrayStore

dbspaceg

20 Feb 2012, 7:02 PM

is there a reader that allow me to read the data as it is and still get the results.