Page 1 of 1

need some expression samples

Posted: Wed Nov 10, 2021 2:27 pm
by tevhitkocabey
hello,
i am a consultant, and i need some expression samples.
we use report.js (Version 2019.3.2 from 17 June 2019, JS) to our web project with angular12.

below there i find some of your entry, i just need some samples like this.
viewtopic.php?t=36666

can you give me some syntax samples?
is our versiyon too old for this?

below there i tried an expression, report file is attached.

if ( report_fields.origin == "Turkey" )
Image1.Enabled = true;
else
Image1.Enabled = false;

Re: need some expression samples

Posted: Thu Nov 11, 2021 8:39 am
by Lech Kulikowski
Hello,

The simple way - is use the Conditions with the "Component Is Enabled" option:
https://www.youtube.com/watch?v=jo5AMul ... Stimulsoft

Thank you.

Re: need some expression samples

Posted: Thu Nov 11, 2021 9:24 am
by tevhitkocabey
hi,
thank you for your reply.
trust me i need hard way.

first;
with in one condition i can enable many items, maybe image1 then text1 then change the barcode1 code field.
barcode.png
barcode.png (24.81 KiB) Viewed 2062 times
second;
below there my web application pictures.
jdemo.expression.PNG
jdemo.expression.PNG (105.12 KiB) Viewed 2062 times
as i told you before, there is no data source or any other function samples.
on the other hand your youtube video, pages are definitly diffrent and right side of the text page the is all we need.
is this differences becouse youtube sample from your desktop solution and my sample from web solution ?
youtube sample.png
youtube sample.png (526.13 KiB) Viewed 2062 times

Re: need some expression samples

Posted: Fri Nov 12, 2021 6:56 am
by HighAley
Hello,

We need some additional information to help you.
Please, write us and we will help you.
https://www.stimulsoft.com/en/support

Thank you.