mleibman/SlickGrid — pull request #255 by mastropinguino (2011-12-20 08:49:42+00:00)
Title: Handle structured data in editors

Hi.
I'm using grid with this settings:

```javascript
var data = [ {num: 1, name: 'test', value: { val1: 1, val2: 2 } } ]

var columns = [
{id:"num", name:"Id", field: 'num'},
{id:"name", name:"Name", field: 'name', editor: null},
{id: 'val1', name: 'Val 1', field: 'value', fieldIdx: 'val1', editor: IntegerCellEditor},
{id: 'val2', name: 'Val 2', field: 'value', fieldIdx: 'val2', editor: IntegerCellEditor}
];
```

Display works fine, but edit can't retrieve value from data['value'][ 'valX' ] field ..
I've noticed that in slick.editors.js there're calls to *defaultVal = item[ column.field ]* directly
I made a small changes in this file writing global getter/setter wich should update the right field.