Copy a table using zeroclipboard

Author: zbouchlihCreated Feb 13, 2017Updated Feb 13, 2017

Hi, Thank you so much for this great solution. I have implemented it and it's working, I have just a problem when I try to copy a table it only copies the visible part of the table (the table is implemented using pagination) so it only copy the first page.

Do you have a solution for that ? Thank you so much in advance,

<a class="btn btn-primary" href="#" data-clipboard-target="datatable" id="copy_table"><i class="custom-icon normal icon-clipboard"></i></a>

var client = new ZeroClipboard( $('#copy_table') );

Source: zeroclipboard/zeroclipboard