How to create dynamic table?

Stimulsoft Reports.JS discussion
Post Reply
lasterstrain
Posts: 1
Joined: Mon Jan 12, 2026 4:50 am

How to create dynamic table?

Post 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.
Lech Kulikowski
Posts: 7589
Joined: Tue Mar 20, 2018 5:34 am

Re: How to create dynamic table?

Post 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.
Post Reply