How to change buttontext of csv,excel,pdf to images

How to change buttontext of csv,excel,pdf to images

jonejone Posts: 2Questions: 0Answers: 0
edited September 2012 in DataTables 1.9
Hi
I want to change the sbuttontext of csv,excel,pdf in Tabletool.js to images of there respective format.Can you plz help me .

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Have a look inside the TableTools.css file. There is some example CSS showing now it can be done.

    Allan
  • jonejone Posts: 2Questions: 0Answers: 0
    Hi allan,

    I have enabled the css that is button.DTTT_button_csv etc in TableTools.css but also i am not getting the image icon in place of sbuttontext. I need the image icon in place of sbuttontext.
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Well to remove the text make sButtonText an empty string. Beyond that it should just be a case of setting up the CSS. If that isn't working we would need a link to your page to be able to offer any help.

    Allan
This discussion has been closed.