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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Documentation for expected server response for Grid Operations.

Thread ID:





121552 Dec 29,2015 04:13 PM UTC Dec 30,2015 09:04 AM UTC JavaScript 1
Tags: ejGrid
Jason Murphy
Asked On December 29, 2015 04:13 PM UTC


I can't seem to locate any information on the web on the expected response for each type of grid operation when using a remote data source with UrlAdapter.

On my own, I managed to figure out that the normal expected response is this:

    count: 3874, 
    items: [{foo: bar},....]
But Im not sure what to return for Grouping or select (in the case of editType = dropdown on a column)

Any guidance would be appreciated.

Sellappandi Ramu [Syncfusion]
Replied On December 30, 2015 09:04 AM UTC

Hi Jason,

Thanks for contacting Syncfusion support.

While using URL Adaptor we need to perform the server operation to return the executed result with count. When we use edit type dropdown to grid column we need to return execute data alone without count from server side.

Note: Dropdown edit type of URLAdaptor issue fix included in Essential studio 2015 service pack 2 release(

Please refer to the code example and sample,

public ActionResult DataSource(DataManager dm)


            var DataSource = OrderRepository.GetAllRecords();

            DataResult result = new DataResult();

            DataOperations operation = new DataOperations();

            IEnumerable res = operation.Execute(DataSource, dm);

            result.result = res;

            result.count = DataSource.Count();

            if(dm.Select != null )

                return Json(res, JsonRequestBehavior.AllowGet);


            return Json(result, JsonRequestBehavior.AllowGet);

Sample: http://www.syncfusion.com/downloads/support/forum/121552/ze/EJGrid_121552655505336

Refer to the attached screen shot,

Please refer to the below Knowledge Base document for server side operation, 


Sellappandi R


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon