Is it possible to remove the expand/collapse button from the jqGrid header?

后端 未结 3 626
梦毁少年i
梦毁少年i 2020-12-30 20:07

I\'m using the jqGrid available at http://www.trirand.com/jqgrid/jqgrid.html and I can\'t find a way to disable its expand/collapse button on the top right of the header. An

3条回答
  •  一生所求
    2020-12-30 20:25

    If you want to disable the main grids toggle button then you can set

    hidegrid: false
    

    If you are trying to disable or hide the subgrids expand and collapse button then use this on loadcomplete

    jQuery("#GridTeableID").jqGrid('hideCol', "subgrid");
    

提交回复
热议问题