JQGrid with Column Reordering

前端 未结 4 1436
难免孤独
难免孤独 2021-01-06 11:53

I have a jqgrid and I can reorder my columns with this option in my JQGrid

    jQuery(\"#list\").jqGrid({
                sortable: true,
                ...         


        
4条回答
  •  逝去的感伤
    2021-01-06 12:42

    You can set sortable for each column in the colModel

    colModel: [{ name: 'name', index: 'name', sortable: true },...
    

    Checkout the documentation it's pretty helpful.

提交回复
热议问题