Dear Sir I'm trying to make a table with dynamic field label but i always give me error here is the code example $repoact=>array(
"cssStyle"=>"text-align:right",
//"label"=>$repoact,
"label"=> function($repoact)
{
if($repoact==='activity'){return 'OK1';}
if($repoact==='service'){return 'OK2';}
if($repoact==='sub_service'){return 'OK3';}
if($repoact==='user'){return 'OK4';}
if($repoact==='branch'){return 'OK5';}
},
),