Hello,
I PHPGRID in which the data is loaded from an array
There is a STATE column which has a certain color depending on its value.
$f = array();
$f["column"] = "ESTADO";
$f["op"] = "=";
$f["value"] = "PDV"; //
$f["cellcss"] = "'background-color':'#FAFAD2'";
$f_conditions[] = $f;
Using Jquery I change the value of a cell but does not change the color, ie
would need the value of the cell or better will refresh row.
Is there a possible solution?
In following demo, the term with pepsi is labelled red.
Code: http://phpgrid.org/demo/demos/loading/load-array.phps
Live: http://phpgrid.org/demo/demos/loading/load-array.php
This example does not conform to what I tell since you can not change the <name> column.
In my case it would be able to modify a cell in the column name where no bubiera the literal <Pepsi> and the disappearance of the red
Regards
When you set cell from parent page, you will need to reload the popup grid to redo the formatting.
e.g. ventana.jQuery('#list1').trigger("reloadGrid",[{jqgrid_page:1}]);
http://pastebin.com/qSuiY0p4 + line 86