Hi and Congratulation for this great component,
I`d like to change the value of a cell (value 1 or value 0), for a icon (.png).
If the value is 1, the icon would be ok.png, or value 0 = icon notgood.png.
I´ve been using something like this : "formatter"]= "js:formatpdf";
and a js funtion…
Thanks
Answers
You can refer this update. See docs for more.
http://www.phpgrid.org/updates/conditional-buttons-in-php-grid/
If you are using licensed version, This sample is avaialble in demos/appearence/conditional-data.php
The demo perhaps, little different from what you are expecting.
Refer http://www.phpgrid.org/docs/ > Conditional Content
Your Answer