Hi, I have created a button that creates a new row, without Editor appearing, and it works fine:
//Create Empty
new $.fn.dataTable.Buttons(table, [{
extend: "create",
text: "Create Empty Row",
action: function(e, dt, node, config) {
editor.create(false).submit();
}
}]);
table
.buttons().container().appendTo($('#createempty'));
How might I go about extending this so that I can create 5 blank rows with one button click? Can I create multiple actions with the above code?