Changing the associated operation with RESTDataSource

I have a search page wherein the user fills the search criterion, the criterion is mapped to a xml using RESTDataSource. The need is to display the search results in a ListGrid. I am successfully able to POST the criterion as as xml to my server application, but the operation type associated with the RESTDataSource at the server at this time is add/update. To populate the grid with the search results, the operation should be fetch at the server. How can I achieve the same?

asadani,

Please do listgrid.fetchData(dynamicform.getValuesAsCriteria()) with datasource common for both dynamicform and listgrid. Also, remember to set
dataprotocol for fetch operationtype as ‘postMessage’ in the datasource.

@Isomorphic,
Please correct me if I am wrong.

Regards,
+Abhishek