Hi there, is it possible to have individual formatting on cells? As a basic example if I wanted quantityOrdered formatting to yellow on anything above 25?
$col["highlight"] ('quantityOrdered', '>=', 25, 'yellow');
Would that work?
I have seen the demo but unsure why its got Amazoin?
$buttons_buy = "<a target='_blank' href='http://www.amazon.com?id={id}' style='text-decoration:none; white-space:none; border:1px solid gray; padding:2px; position:relative; width:25px; color:red'>Buy</a>";
Cheers
Gary
Refer demos/appearance/conditional-format.php demo.
// highlight cell, if defined cellclass OR cellcss
$f = array();
$f["column"] = "id";
$f["op"] = "=";
$f["value"] = "12";
$f["cellcss"] = "'background-color':'red'";
// $f["cellclass"] = "focus-cell"; // this also work
$f_conditions[] = $f;