http://jsfiddle.net/jc8kce18/42/
In the above example "EmployeeID" is set as primarykey which is read from JSON.
I want to set row index of iggrid to be set as the primary key and it should not read from JSON. Even for existing records it should be set in that way.
Hello Akhi,
By design primary key has to be in JSON. The igGridUpdating requires igGrid.options.primaryKey to be defined and the primary key field to be in the grid's column collection in order to work.
The reason is that we need the primary key data type in JSON in order to look-up the correct record in the data source.
Please let me know if you need further assistance.