I tried doing something like :
fontColor: 'red'
Nothing really happened. Am I doing it wrong or this does not exist yet?
Hey, try using
color:'red'
@sankalpsingha - you'll find all available styling properties here: https://github.com/bpampuch/pdfmake/blob/master/src/styleContextStack.js#L85
@sankalpsingha - you'll find all available styling properties here: https://github.com/bpampuch/pdfmake/blob/master/src/styleContextStack.js#L85
Link isn't working anymore
@sankalpsingha - you'll find all available styling properties here: https://github.com/bpampuch/pdfmake/blob/master/src/styleContextStack.js#L85
Link isn't working anymore
https://github.com/bpampuch/pdfmake/blob/0.1/src/styleContextStack.js
Love this digging in sources to make stuff work :-p,
Some trial and error says:
color: 'grey',
background: '#F1F2F3'
Works as expected
Most helpful comment
@sankalpsingha - you'll find all available styling properties here: https://github.com/bpampuch/pdfmake/blob/master/src/styleContextStack.js#L85