Hello,
When I commit a change on a deleted row, the call I make is successful and everything is good. IG does not throw any errors or anything, but the row still remains in the table despite the commit (and the pendingTransactions gets cleared).
Is there a setting or something I'm missing?
Thanks
Hi Alex,
The igGridUpdating requires explicitly setting dataType for a primary key. You should check if you explicitly set it, because when not set it is inferred as "string" and will not work for a number values of the primary key column.
Here is an example code:
$("#grid1").igGrid({
primaryKey: "ProductID",
columns: [
{ headerText: "Product ID", key: "ProductID", dataType: "number"}
],
autoGenerateColumns: false,
dataSource: adventureWorks,
autoCommit: false,
features: [
{
name: "Updating"
}
]
});
Hope this helps,Martin PavlovInfragistics, Inc.
Have you tried to dataBind again after the datasource was updated?
That should clear it up.