close menu after action in button bar

close menu after action in button bar

gmeriauxgmeriaux Posts: 2Questions: 1Answers: 0

Hello,
I would like extend this example to close menu after action : https://datatables.net/extensions/buttons/examples/initialisation/collections-sub.html
In the example, I would like that if the user click on "Toggle salary", it toggle the salary column but also close my menu button.
Is it possible to add this function in the action function of my button?

Thanks in advance for your answers.

Answers

This discussion has been closed.