Wrong display of a loaded text from DataColumn

Stimulsoft Reports.JS discussion
Post Reply
Réda
Posts: 9
Joined: Wed Oct 26, 2022 11:33 am

Wrong display of a loaded text from DataColumn

Post by Réda »

Hello,

I am using the text editor QuillJs to design some part of my report. The result is saved in database. Here is an example of the produced HTML :

Code: Select all

<div><strong>Reda</strong></div>
When I want to display it alone in a text component of my report, the generated report is ok. Here is the content of the Expression field:

Code: Select all

{User.name}
But if I want to change the font or the size of it, like this:

Code: Select all

<font size="24">{User.name}</font>
Or even only add some text like :

Code: Select all

Welcome {User.name}
Then the generated report is wrong. In the first case I expect my report to display "Reda" in bold size 24 but nothing is displayed.
And in the second case, I expect my report to display "Welcome Reda" but it only displays "Welcome ".

Can you help me please ?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Wrong display of a loaded text from DataColumn

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please check the last release build.

Thank you.
Réda
Posts: 9
Joined: Wed Oct 26, 2022 11:33 am

Re: Wrong display of a loaded text from DataColumn

Post by Réda »

Hi,

Unfortunately, I'm not sure if we can safely update to the latest version without breaking everything :lol: I will ask my coworkers later in the morning.

In the mean time, here are some information that maybe will help you somehow :
- we are using Stimulsoft.Reports.Engine.NetCore 2021.3.1 nuget package in our backend to generate the report
- the stimulsoft-reports-js 2020.2.3 npm package is used in our frontend to set up the report
- attached you will find the template of the report, saved in our database

If you need anything else, let me know.
Attachments
template_report.json
(9.06 KiB) Downloaded 94 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Wrong display of a loaded text from DataColumn

Post by Lech Kulikowski »

Hello,

> - we are using Stimulsoft.Reports.Engine.NetCore 2021.3.1 nuget package in our backend to generate the report

Do you export reports on the backend?

Thank you.
Réda
Posts: 9
Joined: Wed Oct 26, 2022 11:33 am

Re: Wrong display of a loaded text from DataColumn

Post by Réda »

Hello, sorry for the delay.

It appears my coworkers were not able to reproduce this bug so everything's fine now.

Thanks for everything.
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Wrong display of a loaded text from DataColumn

Post by Max Shamanov »

Hello,

You are Welcome!
Post Reply