SmartClient Version: v9.1p_2014-09-09/PowerEdition Deployment (built 2014-09-09)
GWT 2.6.1
IE-11
I have a TreeGrid configured for Load On Demand. When I expand a node on the tree, I see the DSFetch go through my RequestTransformer with parentID set to the node I expanded.
I have a case where I need to invalidate the cache in the TreeGrid for that already-in-process load on demand fetch for that node I just expanded. Is this possible?
Because I will be returning the entire tree already loaded in the TreeGrid along with that node that was just expanded. Basically this use case is on any node expansion we need to return the entire tree set of data plus the node expanded. Which is slightly different than the standard load on demand, because that assumes only adding records based on the node expanded.
Here we want to replace all tree data plus the node expanded.
Or could I set on the DSResponse (on the server) DSResponse.setInvalidateCache(true) with the entire tree + node expansion in the data of the DSResponse going back to the client? Assuming the client would drop the cache first, and rebuild the cache with the data set just sent?
GWT 2.6.1
IE-11
I have a TreeGrid configured for Load On Demand. When I expand a node on the tree, I see the DSFetch go through my RequestTransformer with parentID set to the node I expanded.
I have a case where I need to invalidate the cache in the TreeGrid for that already-in-process load on demand fetch for that node I just expanded. Is this possible?
Because I will be returning the entire tree already loaded in the TreeGrid along with that node that was just expanded. Basically this use case is on any node expansion we need to return the entire tree set of data plus the node expanded. Which is slightly different than the standard load on demand, because that assumes only adding records based on the node expanded.
Here we want to replace all tree data plus the node expanded.
Or could I set on the DSResponse (on the server) DSResponse.setInvalidateCache(true) with the entire tree + node expansion in the data of the DSResponse going back to the client? Assuming the client would drop the cache first, and rebuild the cache with the data set just sent?
Comment