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.
Unfortunately, activation email could not send to your email. Please try again.

grid DataManager, Post JSON Adapter

Thread ID:

Created:

Updated:

Platform:

Replies:

128991 Feb 20,2017 10:17 AM Feb 21,2017 06:42 AM Angular 1
loading
Tags: ejGrid
Me
Asked On February 20, 2017 10:17 AM

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)

Venkatesh Ayothi Raman [Syncfusion]
Replied On February 21, 2017 06:42 AM

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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;