I'm using Stimulsoft for a year now (used it in the past with my previous employer and was very happy about it).
But with any reporting software there are always some thing that won't work. But Stimulsoft is pure .NET so a lot of customization is possible.
Situation
I'm trying to develop a report with dynamic fields which a user can add in a webapplication.
Next I want to print this report (and render those fields)
I call those fields "FreeFields", they can consist of (Yes/No, Numeric, Emoji, Text, ...)
Example: Student-record (+ some FreeFields about their grades)
HTML-report
I'm using HTML + CSS for several years now to render these reports ... besides everything it works pretty fine. But I want to migratie this application to Stimulsoft because it's easier to maintain (no browser quirks, ..)
Live-sample (with Test-data), because an images makes everything clearer: https://initech.comeros.be/Systeem/Rapp ... cacaf05748
What did I try already? Next steps?
- Subreports in DataBands ... won't work
- DataBands with conditions (visible true/false]
I thought about creating a component who can parse the several FreeField types and render them accordingly with the Paint-event
How can I bind "MyCustomComponentWithDataSource" to the DataBand like a StiText does?
With a value I can do a lookup of the data in the DataSource with C# ... but I need the current record/index/position. I tried to inherit from StiText (too make the GetDateBand() work) ... but then Paint doesn't work.
I'm able to draw something in the Paint-event, but I cannot access the current position of the DataSource.
Is this the best approach
Or are there better ways?