[dataTables.js] row 추가 row.add()
dataTables.js에서 수정시 build: function build() { this.datatable = this.$table.DataTable({ aoColumns: [null, null, null, null, null, { //col개수 "bSortable": false }], lengthMenu: false, searching: false, "info": false, "paging": false }); }, rowAdd: function rowAdd() { data = this.datatable.row.add(['', '', '', '', '', actions]); //col개수 this.datatable.order([0, 'desc']).draw(); //asc:오름차순 desc:내림차순 ..
2020. 4. 20.