Hello , Per your example below how do I use another field from the same query to do the color checks
Table::create(array(
"dataSource"=>$this->dataStore('data'),
"columns"=>array(
"name",
"age",
"income"=>array(
"formatValue"=>function($value,$row)
{
$color = $value>70000?"#718c00":"#e83e8c";
return "<span style='color:$color'>$".number_format($value)."</span>";
}
)
),
));