cell data to clipboard

cell data to clipboard

OsirisOsiris Posts: 36Questions: 0Answers: 0
edited November 2012 in General
Can I use the tabletools zeroclipboard integration to copy stuff to the system clipboard, without using a copy button ?
What I want is to copy the cell value to clipboard when clicking on that cell.

I've already been able to grab the cell data in js var iId.
My tabletools are set up properly.

currently I'm using the nasty solution :
[code]window.prompt ("Copy to clipboard: Ctrl+C, Enter", iId);[/code]

Replies

  • OsirisOsiris Posts: 36Questions: 0Answers: 0
    edited November 2012
    I only want to do this with certain columns.

    For other column-cell-data I open an external url based on the cell value.
    Clicking on other columns select the row.
    All this works perfectly.

    edit : and I MUST do this in the fnDrawCallback :-)
  • OsirisOsiris Posts: 36Questions: 0Answers: 0
    I'm moving in the direction of hovering the invisible .swf over the entire column.
    Closing in on a solution.
This discussion has been closed.