Add the Dynamic Sorting, Filters on columns of report at runtime(i.e before rendering to viewer using Report.JS)

Stimulsoft Reports.JS discussion
Post Reply
sathishy
Posts: 1
Joined: Wed Jul 29, 2020 7:53 am

Add the Dynamic Sorting, Filters on columns of report at runtime(i.e before rendering to viewer using Report.JS)

Post by sathishy » Wed Jul 29, 2020 8:09 am

Hi All,

I have use-cases like below:
1. Generate report at runtime and using data from SQL datasource. - I implemented this via programmatically.
2. Add Sorting, Filters at runtime before rendering at viewer.
3. is there any chance to maintain user specific visualizations changes(like: someone wants only few columns data, chartbars instead table forma etc in report)

Please suggest how we can achieve these using Report.JS(Javascript).

Thanks,
Sathish
Lech Kulikowski
Posts: 3225
Joined: Tue Mar 20, 2018 5:34 am

Re: Add the Dynamic Sorting, Filters on columns of report at runtime(i.e before rendering to viewer using Report.JS)

Post by Lech Kulikowski » Thu Jul 30, 2020 5:47 pm

Hello,

You can implement it directly in code:
https://www.stimulsoft.com/en/samples/j ... -from-code

also, use request from user variables with Condtions to show/hide some elements, sample report in the attachment.

Thank you.
Attachments
SelectingColumns.mrt
(787.62 KiB) Downloaded 27 times
Post Reply