Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
igGrid updating JSON data source
posted

I have a grid that is datasourced via JSON. When I update the grid the JSON data does not update. I am sure this is a simple fix. The grid itself updates but the "behind the scenes" data does not". Any ideas?

Thanks,

Donnie

Parents
  • 23953
    Verified Answer
    Offline posted

    Hello Donnie,

    You should check if you set the igGrid.primaryKey option. It is required by the igGridUpdating in order to work correctly. If it is not set the igGridUpdating throws an error in the browser console.

    Also check if you set igGrid.autoCommit option. By default it is set to false which means that you manually need to call $(".selector").igGrid("commit"); in order for changes to be persisted in the data source.

     

    If none of the above works can you please share your Ignite UI version. A sample which reproduces the issue will be much appreciated.

     

    Hope this helps,

    Martin Pavlov

    Infragistics, Inc.

Reply Children
No Data