Hello,
We are using: SmartClient_80_Pro.
I’m using server sort and a custom data source which extend the BasicDataSource. In the executeFetch function, I return some extra data (besides the data for the ListGrid) through the DSResponse.setProperty method, and I need these data for the page display.
On the client side, I disabled the autoFetchData. I call fetchData with a fetchData callback function. In the call back function, I inspect the data for the grid and also retrieve the extra data sent back from the server through the DSResponse.setProperty.
Is there a way to register a sort callback function (which is similar to the fetchData call back) so that when sort is performed, I can retrieve the extra data (besides the ListGrid data) that are sent back through the DSResponse.setProperty method?
If this is not supported, do you have any suggestions on how to accomplish this?
Thanks!
We are using: SmartClient_80_Pro.
I’m using server sort and a custom data source which extend the BasicDataSource. In the executeFetch function, I return some extra data (besides the data for the ListGrid) through the DSResponse.setProperty method, and I need these data for the page display.
On the client side, I disabled the autoFetchData. I call fetchData with a fetchData callback function. In the call back function, I inspect the data for the grid and also retrieve the extra data sent back from the server through the DSResponse.setProperty.
Is there a way to register a sort callback function (which is similar to the fetchData call back) so that when sort is performed, I can retrieve the extra data (besides the ListGrid data) that are sent back through the DSResponse.setProperty method?
If this is not supported, do you have any suggestions on how to accomplish this?
Thanks!
Comment