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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -