jqgrid重新设置subGridOptions

jqgrid重新设置subGridOptions,根据条件重新设置属性

$project_config_index_grid.jqGrid('setGridParam', {
    search:true,
                postData:obj,
                page:1,
                subGridOptions:{
plusicon: "icon-plus",
minusicon: "icon-minus",
expandOnLoad: true,
selectOnExpand: false,
reloadOnExpand: false
},

}).trigger("reloadGrid");


添加到setGridParam的花括号里边

你可能感兴趣的:(jqgrid重新设置subGridOptions)