Page 1 of 1

HTML/CSS Report

Posted: September 17th, 2020, 6:07 pm
by Boni
Hi all !!
I would like to know how to use HTML / CSS code to produce a report. I searched in the differents help supports, I can not understand big things, the example I saw (Templated Report or "C:\Programm files (x86)\cspro 7.4\Reports\CSPro Reports.csrs") is for JavaScript code, if I'm not mistaken. Unfortunately, I'm not talented at JavaScript yet.

Re: HTML/CSS Report

Posted: September 20th, 2020, 7:52 pm
by Gregory Martin
Templated reports do not require that you write JavaScript, they only require that you know how to use Mustache syntax to create your HTML template: https://www.csprousers.org/help/CSPro/t ... ports.html

Unfortunately, there aren't many examples of using CSPro's reporting features. If you want to see an example of CSPro reporting (not using the report/setreportdata functions), here is a good example: https://github.com/jhandley/cspro-D3-charts

Re: HTML/CSS Report

Posted: September 22nd, 2020, 4:44 pm
by Boni
Thanks dear Gregory, I'm going to read that