I am trying to generate a simple table in ruby with prawn pdf.
I need some text in a cell to be bold, and some to be not bold. For example:
Now following some examples, I have the basic table rendering with this code:
pdf.table([
["1. Row example text", "433"],
["2. Row example text", "2343"],
["3. Row example text", "342"],
["4. Row example text", "36"]], :width => 500, :cell_style => {
:font_style => :bold})
But I can see absolutely no way of inserting more text into the first cell with a different format. (In this case I want it to be unbolded)
Does anyone know how to accomplish this?
Thanks for any help