How to pass date to report

65 views
Skip to first unread message

Shivakumar Appadurai

unread,
Dec 16, 2017, 8:36:13 AM12/16/17
to ReportBro
Hi Team,

Just gone through reportbro it was quite interesting.
Can you help me to design report.

How to pass data to report and how to add element at run time.

Alex Hartmann

unread,
Dec 18, 2017, 7:47:47 AM12/18/17
to ReportBro
Hi,

you design a report in the Designer by dragging an element from the top (text, line, ...) into the report area. Click on an element in the report to select it and change its properties on the left side.

How to pass data depends on your application. If you hava a python web application you can directly use the reportbro-lib and pass the data as a dict to the Report instance:
https://www.reportbro.com/docs/methods#reportbro-lib

In case you want to get the report in javascript, Java or any other language you have to make a web request and pass the data (along report and outputFormat) as JSON encoded post parameter. You can see an example in the reportbro-designer:
https://github.com/jobsta/reportbro-designer/blob/master/src/ReportBro.js#L1288

Alex
Reply all
Reply to author
Forward
0 new messages