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

Cannot read property result of undefined

Thread ID:





120004 Aug 21,2015 06:01 PM UTC Aug 24,2015 02:06 PM UTC ASP.NET MVC 1
Tags: Grid
David Elies
Asked On August 21, 2015 06:01 PM UTC

When trying to create a Grid, I get an error in the Javascript and it doesn't load any data.  It says Cannot read property result of undefined.  This error is in the ODataAdapter.processResponse function.  It has an argument i which is the OData response from my server, but then it tries to read property d from object i.  The error occurs on this line (from the .min.js file: 

var p = u._requiresCount ? i.d.result : i.d, l, a, b, nt, k, tt, g, h;

This seems like a typo, or a problem with minification, since the OData response clearly doesn't contain the property d.

Gowthami V [Syncfusion]
Replied On August 24, 2015 02:06 PM UTC

Hi David,

Thanks for using Syncfusion products.

We have analyzed the reported issue and considered this requirement “Script error thrown when the response in light format in OData adaptor” as bug and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.

We can resolve the above issue by using a custom adaptor which is extended from ODataAdaptor and for accessing the light format data in the processResponse of the CustomAdaptor as follows.


        var customAdaptor = new ej.ODataAdaptor().extend({

            processResponse: function(data){

                var result = data["value"];

                var count = data["odata.count"];

                return count == null ? result : { result: result, count: count};



function load(args) {

this.model.dataSource.adaptor = new adaptor();




. . . .

}).ClientSideEvents(eve => { eve.Load("load"); })


Please refer the below link for more clarification about the CustomAdaptors.



Gowthami V.


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