ultra2
28 Nov 2011, 11:58 AM
I have Tree panel with a TreeStore. As I see to load a TreeStore I need to get a nested json structure
from the server. But that way would always force me to send the COMPLETE tree structure from the
server. When I refresh the TreeStore I only get the changed records from the server not the whole tree structure (I send a timestamp of the last refresh as a load parameter to the server).
Is there any way to have a custom method in the TreeStore (or in the proxy, or in the reader) where I would get the incoming records and manually merge them into the TreeStore and skip the original method?
thx
from the server. But that way would always force me to send the COMPLETE tree structure from the
server. When I refresh the TreeStore I only get the changed records from the server not the whole tree structure (I send a timestamp of the last refresh as a load parameter to the server).
Is there any way to have a custom method in the TreeStore (or in the proxy, or in the reader) where I would get the incoming records and manually merge them into the TreeStore and skip the original method?
thx