Hi,
first of all, thanks for a really great tool!
I am struggling however to use the list elements. My use case:
report = Thinreports::Report.new
report.use_layout 'default.tlf', :default => true
report.use_layout 'cover.tlf', id: :cover
report.start_new_page layout: :cover do |page|
page.item(:analysis_date).value(Time.now.strftime("%d/%m/%Y %H:%M"))
page.item(:patient_name).value(json["patient"])
page.item(:pipeline_version).value("1.0")
end
I would now like to include a table/list on that same page - I was able to draw a list placeholder about half a page high using thinreports editor. But I cannot figure out how to use that list from within my ruby code. All examples I found seem to assume that a list starts on a blank page and seems to belong to "report" and not "page".
Would it be possible to have an example how I can include a list on my cover page? Thank you!
/Marc