Print only selected rows if there is selected row otherwise all of them
Print only selected rows if there is selected row otherwise all of them

It's going to be only one Print button. If there are selected rows will print selected. If none selected will print all of them.
https://datatables.net/extensions/buttons/examples/print/select.html
I have 5 different export choice. If I would add selected for every button there are 10 button total. It's not useful Any suggestion? Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Found it: http://live.datatables.net/ribebuho/3/edit
Thanks
Nice solution! Thanks for posting back with that.
Allan