Web Connection
HTML Reports
Gravatar is a globally recognized avatar based on your email address. HTML Reports
  Phil Sherwood
  All
  Sep 4, 2017 @ 08:15am

What are people using to generate nice looking HTML reports that you can display on a page?

I've tried the report listener version and also XFRX but I end up with a full html page and I just need the content of the report that I can include in a content section of my page. I can probably create a method to strip out all the header info but thought I'd ask before reinventing the wheel.

Thanks!

-Phil

Gravatar is a globally recognized avatar based on your email address. re: HTML Reports
  Rick Strahl
  Phil Sherwood
  Sep 4, 2017 @ 10:48am

XFRX and other print solutions are meant as 'report' solutions meaning they are meant for full pages. OTOH, if you're producing reports, why not just use that to create full pages or PDF files?

You can also strip out the HTML that was generated with string extraction, but I suspect the reports generated also generate dependent CSS and other things. It might be possible to get just the pieces you want and integrate them into a page.

But really if you want something nice looking as HTML you'll have to design it as HTML using standard template/controller code. Building the logic using templates is usually easier than using the funky report writer syntax required to produce reports from report writers. If you like what a report engine produces you can look into 'stealing' their styling and then using the same sort of layouts to produce your own HTML with templates.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: HTML Reports
  Phil Sherwood
  Rick Strahl
  Sep 5, 2017 @ 12:02pm

Thanks Rick.

That's what I was thinking. Since I've already got the cursor I can just scan through it and build the html page myself. That way I have full control over what it ends up looking like.

-Phil

© 1996-2024