We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

grid DataManager, Post JSON Adapter

Hello,

At the moment I'm using default data manager:

where I have to return data in this format:


I would like to use adapter which would use Post instead of Get. Which one should I use and in what format data must be returned? (I use JSON and Virtualization is enabled for Grid)

1 Reply

VA Venkatesh Ayothi Raman Syncfusion Team February 21, 2017 11:42 AM UTC

Hi Customer, 
Thanks for contacting Syncfusion support. 

We have analyzed your requirement and we suggest you to use built-in adaptor as named URL adaptor. Please refer to the help documentation for more information, 
And you have also mentioned about enableVirtualization, so please refer to the Help documentation for more information, 

Note: Response from server side should be wrapped in an object with properties named result to hold the data and count to hold the total records count. And count must be returned along with response when paging is enabled in Grid. And result properties returned the current page information when virtualization or paging enabled.  

Please let us know if you have any further assistance on this. 
Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon