jqGrid add item checkbox field defaulted to checked
Posted
by gurun8
on Stack Overflow
See other posts from Stack Overflow
or by gurun8
Published on 2010-06-09T15:48:27Z
Indexed on
2010/06/09
18:12 UTC
Read the original article
Hit count: 665
jqgrid
Here's a simple question. I have a jqGrid that's working great but I want set the default value for a checkbox to checked when user adds a new item. Here's a snippet of code:
{name: "Active", index: "active", width: 80, align: "center", sortable: false,
editable: true, edittype: "checkbox", editoptions: {value: "Yes:No"}}
I don't see anything in the documentation:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules
© Stack Overflow or respective owner