"xtype": "ColumnModel",
"header": rec.data.title,
"width": rec.data.width * 1,
- "dataIndex": rec.Field,
- "|renderer": !rec.Type.match(/date/i) ?
+ "dataIndex": rec.data.dataIndex,
+ "|renderer": !rec.data.type.match(/date/i) ?
"function(v) { return String.format('{0}', v); }" :
"function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }" , // special for date
"|xns": "Roo.grid",