Is ZeroClipboard necessary if not using "copy" button?

Is ZeroClipboard necessary if not using "copy" button?

jhfrenchjhfrench Posts: 15Questions: 0Answers: 0
edited May 2013 in TableTools
Based on the description of Zero Clipboard at https://github.com/jonrohan/ZeroClipboard, it seems that this functionality--and the flash file that powers it--is used for providing the TableTools "copy" button functionality. If "copy" is not needed, is ZeroClipboard.js still necessary?

I have a working example of TableTools running at http://jsfiddle.net/jhfrench/6b74w/68/. When I remove the "copy" button, and the custom path to SWF file (see http://jsfiddle.net/jhfrench/6b74w/72/), DataTables breaks ("Uncaught ReferenceError: ZeroClipboard_TableTools is not defined ").

Replies

  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    It is only required if you are using the copy, xls, csv or pdf buttons. For just plain buttons, then it is not required. And it is only required for those four buttons since there is no equivalent API in javascript.

    Allan
This discussion has been closed.