jquery datatables hide column

前端 未结 13 1392
灰色年华
灰色年华 2020-12-02 11:59

Is there a way with the jquery datatables plugin to hide (and show) a table column?

I figured out how to reload the table data: using fnClearTable and <

13条回答
  •  时光说笑
    2020-12-02 12:27

    if anyone gets in here again this worked for me...

    "aoColumnDefs": [{ "bVisible": false, "aTargets": [0] }]
    

提交回复
热议问题