Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82040

Cancel button

$
0
0
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();
}
}

Viewing all articles
Browse latest Browse all 82040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>