Table field result change when result is comes from a database table


I have to following question.

I have a table that is connected to an database table via a FreeformQuery.
A few fields of the table are status fields and are numbers like;

0 = ok
1 = warning
2 = error
3 = fatal error

In my table I see the numbers but it would be nice if I could change the number to a real message.

Who has an example or can give me some guidance how to solve this?


Overwrite Table#formatPropertyValue().

Thanks, that did the trick.