jqGrid add item checkbox field defaulted to checked

后端 未结 2 1485
青春惊慌失措
青春惊慌失措 2021-01-15 06:43

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

2条回答
  •  遥遥无期
    2021-01-15 07:30

    I have used this, it worked.

     editoptions: {value: "true:false", defaultValue: "true"}
    

提交回复
热议问题