is it possible to change the font color similar as changing the background color .
is it possible to change the font color similar as changing the background color .
rsinghshahil
Posts: 1Questions: 1Answers: 0
$(this).attr( "s", "24" ) => changes column to blue but not the font.
are there any ways.
this is what I have now.
$("row c[r^=A]", sheet).each(function ( index, element) {
if (index !== 0) {
$(this).attr( "s", "24" );
}
});
Answers
You would need to make your own font and / or style.
As the docs say:
You can also search the forum on how to do this. Other people and myself have posted examples.
You can take a look at this: https://datatables.net/forums/discussion/72366/excel-export#latest
You'll find this in there as well. It is about creating your own fonts, styles and number formats:
This comment should be helpful as well: