DataManager queries are generated based on the Grid actions and Grid model properties. To create a custom action, collect previously posted queries to the window variable which has been done in the processQuery method of the UrlAdaptor/WebMethodAdaptor after extending them to the Custom Adaptor. Later, custom POST will be requested using any external action.
The following code example shows how to post the special action to the DataManager:
Extend the respective adaptors and collect the queries in the window variable. Later, in the button click event requesting the POST with the saved query to the CustomAction method.
DataManager passing for customaction
Successful Ajax post
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|