Hi,
I want to create custom cancel/save/delete buttons.
in the "fnInitComplete" call, I configure editor.buttons.
How should I configure a delete button? The Save and Cancel seem to work.
Kind regards,
Nathan
I want to create custom cancel/save/delete buttons.
in the "fnInitComplete" call, I configure editor.buttons.
How should I configure a delete button? The Save and Cancel seem to work.
{
"label": "Delete",
"className":"btn btn-inverse",
"fn": function () {
this.message( "Are you sure you want to remove this row?" );
this.remove( row_to_delete, 'Delete row', {
"label": "Confirm",
"fn": function () { this.submit(); }
} );
}
}
Kind regards,
Nathan