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
I was just going to post that as a solution. My rowkey was not getting populated correctly and causing the issue.
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.