1
0
Fork 0
forked from 0x2620/oxjs

add an optional function to textlist columns that maps values to sort values

This commit is contained in:
rolux 2011-05-22 15:14:42 +02:00
commit a3c18e57b0
6 changed files with 34 additions and 16 deletions

View file

@ -55,6 +55,9 @@ Ox.ListMap = function(options, self) {
id: 'geoname',
removable: false,
operator: '+',
sort: function(v) {
return v.split(', ').reverse().join(', ')
},
title: 'Geoname',
visible: true,
width: 192