Buttons ext: how do call a default action?
Buttons ext: how do call a default action?
JohnParker
Posts: 0Questions: 3Answers: 0
Allan,
I'd like to be able to perform preprocessing before copying data to clipboard or exporting to CSV. You mentioned in a post over a year ago you may implement a super() method to allow calling a default action. Has this been implemented yet? If so, how can I use it? I can't seem to use the approach below due to security constraints?
var default_action = data_table.button(2).action();
data_table.button(2).action(function (e, dt, button, config) {
do stuff... like set config.message
default_action(e, dt, button, config);
});
Thanks,
John
This discussion has been closed.