How to create dynamic table?
Posted: Mon Jan 12, 2026 4:54 am
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.
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.