Sep 20, 2011, 1:49 PM
Hi Daniil,
No
I want to create a Grid store as Below
But i have other problem, ie, i am constructing a string with the values as
But when i do
Please let me know what could be the problem...
Thank You
Do you need to copy all fields from one store to another, right?
I want to create a Grid store as Below
<Store>
<ext:Store ID="gridstore1" runat="server">
<Reader>
<ext:ArrayReader>
<Fields>
<ext:RecordField Name="Shelf" />
<ext:RecordField Name="Row" />
<ext:RecordField Name="Bin" />
</Fields>
</ext:ArrayReader>
</Reader>
</ext:Store>
</Store>
with the help of My Javascript code.But i have other problem, ie, i am constructing a string with the values as
{Shelf:Shelf1,Row:row1,Bin:Bin1}
And assign to a Var str
when i do gridstore1.addRecord({Shelf:'shelf1',Row:'Row1',Bin:'Bin1'});
the values are stored in there respective fieldsBut when i do
gridstore1.addRecord(str);
the values in the store for the respective flelds is emptyPlease let me know what could be the problem...
Thank You