tonytomov/jqGrid — Issue #208: saveRow by clientArray won't respect jsonreader's id
Author: jackysee
Created: 2011-12-06 04:35:57+00:00
State: open

The grid configured:

```javascript
$("#list").jqGrid({
//..
colModels: [
//...
{name:'id', index:'id', hidden:true}, //not really the id
{name:'colName', index:'colName'}, //the real id
//...
],
jsonReader:{ id:'colName'}, //read correct column as id
//...
});

```
Using inline editing and save using `saveRow` using `clientArray`, a `getRowData` afterward gives sth like

```javascript
{ id: 'ABC_COLUMN', colName:'ABC_COLUMN' /*...*/}
```

that the `id` is being overwritten with the `colName`.