ce icon indicating copy to clipboard operation
ce copied to clipboard

Color and background not working

Open glenoka opened this issue 7 years ago • 1 comments

I put background and color like this: shift.setStyle('C4', 'background-color', '#32CD32','color', 'white');

but the only background is working, color font not working. this the result: image

can you help me?

glenoka avatar Nov 15 '19 04:11 glenoka

The correct way to apply multiple style properties or cells:

table.setStyle({ A3:'font-weight: bold; color:red;', B3:'background-color: yellow;', C3:'text-decoration: underline;', A4:'text-align:left;' });

pphod avatar Nov 15 '19 13:11 pphod