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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -