Copy and Print Buttons

Copy and Print Buttons

grimabegrimabe Posts: 6Questions: 0Answers: 0
edited July 2011 in TableTools
Hi,

I would like to know how I can select all the element with the copy button when 0 are selected and only select selected when some element are selected ?
The same question for the print button.

Thanks

Replies

  • grimabegrimabe Posts: 6Questions: 0Answers: 0
    Up please !
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    Yes.

    run fnGetSelected. if you get 0 results, run fnSelectAll

    http://www.datatables.net/extras/tabletools/api
  • grimabegrimabe Posts: 6Questions: 0Answers: 0
    Thanks it's work !
  • grimabegrimabe Posts: 6Questions: 0Answers: 0
    edited July 2011
    Sorry it's work for the copy function but for the print function it's diffrent.
    I don't know how do that.
This discussion has been closed.