I have a column where I want the type to be checkboxes.
So for example:
Please select your favorite sports:
Football
Basketball
Rugby
Hockey
Tennis
Golf
Baseball
Lacrosse
Polo
I want the actual values checked stored in the column. What is the setting I can use and how do I show the values entered on the edit dialog form? So if changes or more selections need to be made those that have been selected will be checked on the form.
Thanks!
Hello,
It's not exactly supported.
Nearest solution could be to use multi select dropdown.
// to enable multiselect option
$col["edittype"] = "select";
$col["editoptions"]["multiple"] = "multiple";
You can also replace multi-select dropdown to select2 tagging control.
http://easycaptures.com/fs/uploaded/801/5587551854.png
Live: http://phpgrid.org/demo/demos/integrations/select2-tags.php
Code: http://phpgrid.org/demo/demos/integrations/select2-tags.phps
Can you provide an example of the select2 tagging please? That looks like a good option.