Great product by the way. Moved from Platinum Grid this week and I am so much more productive.
In my php code, I have 2 grids: master and detail. In the master, I have conditional css formatting that turns rows yellow if a column is > 0 in value. Both work fine but not together. As soon as I switch on the detail_grid_id and subgridparams options from the master, the row colouring stops but the master detail grids work as expected. When I comment out these options, the row colouration springs back to life.
The above is an absolute must-have for me.
============================= Code Extract
$opt_stock[“detail_grid_id”] = “comp”;
$opt_stock[“subgridparams”] = “car_id,car_trim,car_model,car_transmission,car_fuel_type,car_shape”;
$f = array();
$f[“column”] = “car_red_minus_green”; // exact column name, as defined above in set_columns or sql field name
$f[“op”] = “>”; // cn – contains, eq – equals
$f[“value”] = “0”;
$f[“class”] = “set-yell-row”; // css class name
$f_conditions = $f;
…………… I followed your conditional format example and placed the style as below:
<div id=”tree_div” class=”rTableCell”>
<?php echo $stock_out; ?>
<?php echo $comp_out;
<div id=”targ” class=”rTableCell”>
This issue is fixed in latest build and emailed to you.
Abu Ghufran - Dev Team
Grid 4 PHP Framework
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?