forked from 0x2620/oxjs
add an optional function to textlist columns that maps values to sort values
This commit is contained in:
parent
5915acd72c
commit
a3c18e57b0
6 changed files with 34 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue