Hi,
I'm using CategoryFilter for selecting displayed data. Example:
Name Age Tag
John 50 M
Ray 25 M
Eve 33 F
Child 3 C
I do not want to display column "Tag", it is only used by CategoryFilter. I want to spare data volume, so I use "M" for "male", "F" for "female", "C" for "child". (The data are stored in JSON file).
The problem is, how to display in CategoryFilter "Male" instead of "M".I have two solution, both are not nice:
1st: I can write "Male" instead of "M". But the data file is much bigger.
2nd: I can change the cells in DataTable after loading. But execution of this code takes some time as well.
Is there any idea how to do that?
It would be nice to have formatter enabling more complex transformations. But there is no formatter for string values.
Any idea?