May 04, 2016, 8:08 AM
[CLOSED] Original json data from store
Hello
I would like to get original json data from the store (client side)
Note that by "original" I do not mean "not modified" but once that were sent from server before processing by reader
So if I have a store like
{
Total:30,
SomeProperty:'xxx',
Source:[/* data array for store itself */]
}
I would like to get value of SomeProperty
seems that
thanks
Zdenek
I would like to get original json data from the store (client side)
Note that by "original" I do not mean "not modified" but once that were sent from server before processing by reader
So if I have a store like
<ext:Store AutoLoad="true" runat="server" ID="storeRecentTRs" PageSize="5" RemotePaging="true" RemoteSort="true" >
<Proxy>
<ext:AjaxProxy >
<ActionMethods Read="POST" />
<Reader>
<ext:JsonReader TotalProperty="Total" RootProperty="Source"/>
</Reader>
</ext:AjaxProxy>
</Proxy>
and from server comes something like{
Total:30,
SomeProperty:'xxx',
Source:[/* data array for store itself */]
}
I would like to get value of SomeProperty
seems that
store.getProxy().getReader().rawData
worked in Ext4 (http://stackoverflow.com/questions/9...ext-data-store) , but I'm getting undefined nowthanks
Zdenek
Last edited by fabricio.murta; May 24, 2016 at 7:43 PM.
Reason: no user feedback for 7+ days