Hi have two question:
1) change the text color based on value
How can i do? I've used conditional formatting but i can't figure it out
2) change value based on db
Ex. the db give me the value "F" but in the grid i want "F" is trasformed into "First"
#1 Refer this demo code:
I) Refer on_data_display event in demos/editing/custom-events.php
II) For extended conditional data, you can also have callback function, that will allow you to display based on row data. For e.g.
$col["on_data_display"] = array("display_keyword","");
$kw = $data["keyword_name"];
$numKeywords = count(explode("n",$pass));
if ($numKeywords > 3)
return $numKeywords." Keywords";
$pass = str_replace("+"," ",$pass);
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?