复选框编辑在jqgrid中不起作用

时间:2015-03-12 05:23:28

标签: jquery jqgrid

{
    name: 'hidden',
    editable: true,
    formatter: "checkbox",
    editoptions: {
        value: 'True: False'
    },
    edittype: "checkbox",
    index: 'hidden',
    width: 40,
    sortable: true,
    sorttype: 'int',
    align: "center"
},

此代码在jqgrid中运行,有时可以在chrome中编辑,但在firefox和safari等中无法编辑。 Plz帮我谢谢

1 个答案:

答案 0 :(得分:2)

{name: 'hidden', editable: true, formatter: "checkbox",  edittype: "checkbox", index: 'hidden', width: 40, sortable: true, sorttype: 'int', align: "center",formatoptions:{disabled:false}},

formatoptions:{disabled:false}缺失