How to convert ExportExcel text button to ExportExcel image button
How to convert ExportExcel text button to ExportExcel image button
arvindg82
Posts: 16Questions: 4Answers: 0
Hi Team,
How to convert ExportExcel text button to ExportExcel image button?
Answers
How to convert ExportExcel text button to ExportExcel image button?
I am not sure whether I understand what you mean. If you mean to have an icon as the Excel download button instead of the "Excel" text then I should have what you need.
My Excel Button looks like this:
You'll find the respective German language button settings in here including the Excel Button that I made using font awesome
The above is not working. Image is not reflecting.
This uses the Font Awesome library for the icons. Did you load the library?
If not you can get it from here:
https://cdnjs.com/libraries/font-awesome
Kevin
I am actually using an older version of font awesome. I guess the syntax has changed in the later versions. Much more difficult to figure it out with those newer versions.
This is what I am using:
https://fontawesome.com/v4/icons/
And here is the link to the respective css:
Just checked: If you are using font awesome 5 or 6 the spreadsheet icons are no longer free ...
For custom buttons it is easy to use those icons - also in combination with text.
Here is a custom button called "editCashFlow":
Result is this:
I need the image in the screenshot.
Here is an example with both FA 4.7 Excel icon and an Excel Image in a button. The image is oversized and you would need to find a proper one of course.
Hopefully that helps.
https://live.datatables.net/xawaxado/1/