Hello,
I have a stored procedure in SQL Server that accepts two date arguments, performs calculations, and returns a dynamically generated table with a varying number of rows and columns based on the input dates.
How can I display this dynamic table in Stimulsoft Reports.JS?
While I can send the date arguments to SQL and retrieve the results on the execution query page, I'm struggling to create a table with dynamic columns at runtime. As I understand it, columns are typically static and need to be defined at design time, but since the columns depend on user-provided arguments, I can't configure the table in advance. I'm using the Angular 7 npm package for the report.
How to create dynamic table?
-
lasterstrain
- Posts: 1
- Joined: Mon Jan 12, 2026 4:50 am
-
Lech Kulikowski
- Posts: 7589
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to create dynamic table?
Hello,
In this case, you can create your report with dynamically generated data from the code:
https://www.stimulsoft.com/en/samples/r ... -from-code
Thank you.
In this case, you can create your report with dynamically generated data from the code:
https://www.stimulsoft.com/en/samples/r ... -from-code
Thank you.