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

Grid Refresh Issue

Thread ID:





118002 Jan 19,2015 07:22 PM UTC Jan 20,2015 01:02 PM UTC JavaScript 1
Tags: ejGrid
Yashar Hassanpour
Asked On January 19, 2015 07:22 PM UTC


I am currently evaluating your product in a SharePoint App development context and encountered the following issue: I use a grid to visualize data from a List that I query using REST. To do so I am using a data Manager Object in this way:

var dataManger_VacationRequests = ej.DataManager({
        url: listRESTUrl_VacationRequests,
        crossDomain: false,
        offline: true

while listRESTUrl_VacationRequests is a URL to the REST service that already includes all the data selection I need. After initializing the Grid everything works fine and the data is displayed as expected. The issue appears when I change the data (not via grid but using SharePoint API) and try to refresh the grid by running this function:

 function updateGrid() {
    var dataManger = ej.DataManager({
        url: listRESTUrl_VacationRequests,
        crossDomain: true,
        offline: true
    $("#CommonGrid").ejGrid("dataSource", dataManger);

Afterwards the Grid refreshes but does not show any data (see IMG1 in attached zip file). However the data seems to be there since I can see a certain count of items in the lower right corner of the grid. And I also am able to select other pages then the first. If I do so (like selecting the second page) the data appears again. When I go back to the first page afterwards everything works fine again (see IMG1 and IMG2). For now I have found a workaround. By executing

window.setTimeout(function () { $("#CommonGrid").ejGrid("refreshContent"); }, 700);

right after I set the new data Manager Object the data reappears. Hope this helps you a bit to reproduce the issue.

Thanks in advance!

Thanks a lot for your

Attachment: refreshBug_614e9e75.zip

Madhu Sudhanan P [Syncfusion]
Replied On January 20, 2015 01:02 PM UTC

Hi Yashar,

Thanks for using Syncfusion products.

We have analyzed the reported query and noticed that you have asked the same query in incident #134189. And also we have provided the response for your query in that incident and hence please refer the incident #134189 for better follow up.

Please let us know if you have any queries.


Madhu Sudhanan. P


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