Hello,
Is it possible to call a function to display a text depending on the column value?
For example calling this function to display
function translateType($t)
{
switch($t)
{
case ‘1’: return ‘Request’;
default: return ‘unknown: ‘.$t;
}
}
Thanks,
Cedric
1 Answers
This is doable, please refer this section.
http://www.phpgrid.org/docs/#Conditional_Content
Your Answer