JQGrid: making all checkboxes checked by default -
after adding following in jqgrid :-
models
{name: 'checkbox', index: 'checkbox', width:"5%", formatter: "checkbox", formatoptions: { disabled: false } }, columns
"select"
jqgrid has displayed column having check boxes correct default check boxes checked not expected.
i not sure if default behavior of jqgrid check box column. don't want display check boxes checked default. how fix this?
per default checkboxes non-checked. can use defaultvalue property of formatoptions change default value:
formatoptions: {defaultvalue: "yes"} by way setting of width in % (like width:"5%") not supported jqgrid.
Comments
Post a Comment