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

DataManager - executeLocal() : Json data is required to execute


I'm receiving the above error when binding data received from a websercice to ejGrid.

Please find in the attached file an image with error in the console window (error.prg), the markup files (*.HTML), the piece of code with the controller where the error is raising (code.txt) and the results from the webservice (results.txt).

Any help would be appreciated.
Thank you in advance

Attachment: error_63f03847.rar

5 Replies

BM Balaji Marimuthu Syncfusion Team January 27, 2016 12:46 PM UTC

Hi Antonio,

Thanks for contacting Syncfusion support.

We have checked the attached code and error screenshots also created a sample similar with the provided code. But, we were unable to reproduce the issue from our side. Refer to the sample,


Please share more information to find the cause of issue and provide a better solution at the earliest,

1.     Essential Studio and Browser version details.
2.      Runnable sample or modify the attached sample as issue reproducible.
3.       We suspect that issue is occurred when binding the null value to the $scope.data. So, please ensure whether you have changed the $scope.data value or not in your application.

Balaji Marimuthu

UN Unknown Syncfusion Team January 28, 2016 10:07 AM UTC


Forgot JSON.parse.

Thanks for your answer.

BM Balaji Marimuthu Syncfusion Team January 29, 2016 05:36 AM UTC

Hi Antonio,

Thanks for the update.

Please get back to us if you need any further assistance.

Balaji Marimuthu

LD Leroy Duncan October 30, 2017 07:13 PM UTC

Where did you add JSON.Parse()??? I am experienceing the same issue and could use a pointer. 


SA Saravanan Arunachalam Syncfusion Team October 31, 2017 05:00 AM UTC

Hi Leroy, 
By default, the JSON.Parse() method used to parse the json string into the json data. So, we should parse the jsong string as json data using JSON.Parse(), if we return the data from the controller as a json string.  
In the provided example on 26/01/2016, we should assign the parsed data in the $scope.data that can be refer from the below code example. 
.controller('ViewCheckOutsCtrl', ['$scope', '$modal', '$translate', '$locale', '$location', function ($scope, $modal, $translate, $locale, $location) { 
    $scope.data = []; 
          . . . 
        $scope.data = [] 
        var promise = dataman.executeQuery(query); 
        promise.done(function (e) { 
            $scope.data = JSON.Parse(e.result); 
Saravanan A. 

Live Chat Icon For mobile
Up arrow icon