Can modify output before sent to clipboard or csv?

Can modify output before sent to clipboard or csv?

fbasfbas Posts: 1,094Questions: 4Answers: 0
edited July 2011 in TableTools
I have some checkboxes and
tags in my table headers that influence the output of both the clipboard (extra tabs are present) and csv (carriage returns are present). Also, the csv button uses single quotes to wrap values and I'd prefer double quotes (the single quotes are used literally in Excel while the double quotes are treated as proper wrappers and discarded after parsed).

Is there a way (an easy way) to modify the behavior or output in TableTools? Is ZeroClipboard easy to program?

Replies

  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    > I'd prefer double quotes

    I've changed it to do that in the nightlies. You can override to whatever you want using the sFieldBoundary property for the cvs button though ( http://datatables.net/extras/tabletools/button_options#sFieldBoundary ).

    The ZeroClipboard modifications I've made for TableTools are intentionally kept quite simple. It should really be a pass through kind of thing - copy this to clipboard, save this here etc. Most of the hard work is done in TableTools, but ZeroClipboard is very cool - shows off AS3 quite nicely.

    Allan
This discussion has been closed.