BUG: Single select and tabletools copy -function

BUG: Single select and tabletools copy -function

joskjosk Posts: 13Questions: 0Answers: 0
edited February 2012 in Bug reports
I found bug if you are using TableTools2 and Datatables 1.9.0 with option "sRowSelect": "single". Then COPY button of the TableTools won't copy those rows in the table.

Go to url: http://datatables.net/release-datatables/extras/TableTools/select_single.html (I used FF 9)

Try COPY button.... you should get message that says: Copied 0 rows to the clipboard

Replies

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin
    Good find - thanks for that. I've just committed a fix which is now available in the TableTools nightly build ( http://datatables.net/download ).

    Do remember that if you want the copy to only copy selected rows then you need to set bSelectedOnly: true for the button (it is false by default and thus will copy all rows - although not in the case above due to the bug!).

    Allan
This discussion has been closed.