How can I change the font/style of the flash button

How can I change the font/style of the flash button

NikkeNikke Posts: 8Questions: 0Answers: 0
edited April 2011 in TableTools
I have the following code,

[code]
//---- code snip ----
"oTableTools": {
"sSwfPath": "copy_cvs_xls_pdf.swf",

"aButtons": [
{
"sExtends": "text",
"sButtonText": "Add Data",
"fnClick": function ( nButton, oConfig, oFlash ){
alert( 'Add button click' );
}
},
"print",
{
"sExtends": "collection",
"sButtonText": "Save",
"aButtons": [ "csv", "xls", "pdf" ]
}
]
}
//--- code snip ends ----
[/code]
How could I change the styles of these buttons. I love to change the font size on them and make them look a bit more like my other style elements of my page. Please let me know if it is possible and if so, please direct me on the right direction.

Thanks a bunch!

Nikke

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You can just set the font-size CSS property for the buttons. Have a look in the CSS default file that TableTools comes with - you can set the font-size in there.

    Allan
  • NikkeNikke Posts: 8Questions: 0Answers: 0
    Oh gosh! How did I not see that there! Thanks Allan for your quick reply! This tool is way too good! Kuddos to you!

    Thanks a bunch!
This discussion has been closed.