Format values from table for Editor instance
Format values from table for Editor instance

Hi all,
I stumbled upon the following problem:
I have a column in my table which contains 1 or 0.
with the render function I got it to display the 1 or 0 as a word in my table. I want to have the same in my editor instance, so that the user wont need to select 1 or 0 but rather the word.
Example
1 = taken
0 = empty
I want to have a dropdown in my Editor which shows taken / empty as options rather than 1 or 0.
Is that possible?
Thanks a lot!
This discussion has been closed.
Replies
Yep, for
select
you can specifyoptions
, so{'true':1, 'false':0}
should do the trick,Colin