Pman.Tab.XtupleCurrency.js
"|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
"|xns": "Roo.grid",
"*prop": "colModel[]"
+ },
+ {
+ "xtype": "ColumnModel",
+ "header": "Curr rate",
+ "width": 75,
+ "dataIndex": "curr_rate",
+ "|renderer": "function(v) { return String.format('{0}', v); }",
+ "|xns": "Roo.grid",
+ "*prop": "colModel[]"
}
]
}
width : 75,
dataIndex : 'curr_expires',
renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
+ },
+ {
+ xtype: 'ColumnModel',
+ xns: Roo.grid,
+ header : 'Curr rate',
+ width : 75,
+ dataIndex : 'curr_rate',
+ renderer : function(v) { return String.format('{0}', v); }
}
]
}