Page 1 of 1

How to create dynamic table?

Posted: Mon Jan 12, 2026 4:54 am
by lasterstrain
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.

Re: How to create dynamic table?

Posted: Mon Jan 12, 2026 9:55 pm
by Lech Kulikowski
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.