Hi! I try to use etableand do not understand what is correct format to use function formatter in it. If I write
"formatter":function(x) {return x?'Used':'Unused'}
it is JSON syntax error. If I add quotes, like here:
"formatter":"function(x) {return x?'Used':'Unused'}"
it does not work in etable. It looks like it is Tabulator syntax error
How to do that in correct manner?
Of course my real formatter is more complex.