jqGrid without header

后端 未结 5 1880
长情又很酷
长情又很酷 2021-01-05 05:02

I have tried to figure out how to disable the header for a jqGrid, so that the row containing the column names does not show. So far, I have come up with no solution. Is the

5条回答
  •  抹茶落季
    2021-01-05 05:38

    This works:

    var grid = $("#GRID_NAME");
    var gview = grid.parents("div.ui-jqgrid-view");
    gview.children("div.ui-jqgrid-hdiv").hide();
    

提交回复
热议问题