support formatting of values in lists

This commit is contained in:
rolux 2011-01-05 14:53:38 +00:00
commit e0ad1f9e24
2 changed files with 8 additions and 4 deletions

View file

@ -1118,6 +1118,11 @@ var pandora = new Ox.App({
columnsMovable: true,
columnsRemovable: true,
columnsResizable: true,
format: {
releasedate: {type: 'date', args: ['%a, %b %e, %Y']},
runtime: {type: 'duration', args: [0, 'medium']},
votes: {type: 'percent', args: [403824, 2]}
},
id: 'list',
request: function(data, callback) {
Ox.print('data, Query.toObject', data, Query.toObject())