Skip to content

I have 3 different status (1,2 and 3) - I want to assign values to each.. active, inactive and archived .. how do I do this? If I set conditional statement , only the latest value works

You can set the column to SELECT type. See set_col_edittype example
http://phpgrid.com/example/set_col_edittype-2/

e.g.
$dg → set_col_edittype("", “select”, “1:active;2:inactive;3:archived”).

Feedback and Knowledge Base