How to copy only selected cells with the Copy Button
How to copy only selected cells with the Copy Button
ramseied
Posts: 1Questions: 1Answers: 0
Dear Developers,
I'm trying to copy only the Cells that have been selected into the Clipboard by using the "Copy Button"
With this code, I can Select the Cells individually:
select: {
style: 'os',
items: 'cell'
},
This is the code for the Copy Button:
{
extend: 'copy',
text: '<img src="images/copy.png" border="0">',
titleAttr: 'Copy',
exportOptions: {
modifier: {
selected: true
}
}
},
Unfortunately I always get "Copied 0 rows to clipboard"
Your help would be highly appreciated !
David
This discussion has been closed.
Answers
Looking for the same option.
@ramseied did you get it working ?