Hi,
When adding a new record, I would like there to be a CANCEL button as well inside the modal (not only a "Save" button).
How & where do I add this? The code below on fnInitComplete didn't do anything.
editor.buttons( [
{
"label": "Cancel",
"className":"btn btn-link",
"fn": function () {
editor.close();
}
}
When adding a new record, I would like there to be a CANCEL button as well inside the modal (not only a "Save" button).
How & where do I add this? The code below on fnInitComplete didn't do anything.
editor.buttons( [
{
"label": "Cancel",
"className":"btn btn-link",
"fn": function () {
editor.close();
}
}