How to delete current row with jquery datatable plugin

前端 未结 5 1860
既然无缘
既然无缘 2020-12-28 14:59

I have a column with buttons in a table I\'m using jQuery datatable plugin. The buttons say \"Remove\" and the idea is that when you click on that button it deletes the curr

5条回答
  •  有刺的猬
    2020-12-28 15:52

    from this page:

    $('#example tbody td').click( function () {
        /* Get the position of the current data from the node */
        var aPos = oTable.fnGetPosition( this );
    
        //...
    } );
    

提交回复
热议问题