Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Stimulsoft Reports.JS discussion
Post Reply
Anas
Posts: 12
Joined: Thu Dec 29, 2022 2:37 pm

Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Post by Anas »

Hi All,
We are using Template Reports and when we drag and drop columns from the DataSource -> LineItem - >Records -> [ColumnName], the Expression it is making is Records.[ColumnName] thus it is not fetching any results.

If we manually edit the expression to LineItems.Records.[ColumnName] then it is fetching the correct value. So can you please let us know how to automatically include LineItem. when we are dragging and dropping columns from the DataSource.

Basically we would like this expression to be generated when we are dragging and dropping {NameOfDataSource.NameOfTable.NameOfField}
Please see the attached video.
2024-03-30 18-14-22.mp4
(12.85 MiB) Downloaded 49 times
Max Shamanov
Posts: 793
Joined: Tue Sep 07, 2021 10:11 am

Re: Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Post by Max Shamanov »

Hello,

Could you please check your issue on the latest release version?
Also, please clarify how you create the data source in your project?

Thank you.
Anas
Posts: 12
Joined: Thu Dec 29, 2022 2:37 pm

Re: Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Post by Anas »

Hi Max,
Thanks for your response, we are using DataSet as a DataSource.
We are fetching the DataSet through API.
Please find the attached screenshot of the codebase.
image.png
image.png (11.23 KiB) Viewed 901 times
Also I am attaching the json for the report designer with dataSource.
report.json
(396.49 KiB) Downloaded 36 times
Thanks,
Max Shamanov
Posts: 793
Joined: Tue Sep 07, 2021 10:11 am

Re: Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Post by Max Shamanov »

Hello.

Could you specify which version of our product you use?
Please ckeck your issue on the latest release build.

Thank you.
Anas
Posts: 12
Joined: Thu Dec 29, 2022 2:37 pm

Re: Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Post by Anas »

Hi Max,
Thanks for your reply.
We are using Stimulsoft Report Js product and its version is "stimulsoft-reports-js": "^2023.2.3"
Max Shamanov
Posts: 793
Joined: Tue Sep 07, 2021 10:11 am

Re: Dragging & Dropping DataSource Columns in Template Report not fetching correct results

Post by Max Shamanov »

Hello.

Please ckeck your issue on the latest release build.

Thank you.
Post Reply