Can I do conditional coloring with stimulsoft?
Can I do conditional coloring with stimulsoft?
I have a column named "Adi" in my data source. This column is of string type. If the value in the previous "Name" column is the same as the next value, I want to make the style color of those columns red. How can I do? I sent my report to you. Thank you.
- Attachments
-
- KonsolideGenel.mrt
- (17.28 KiB) Downloaded 395 times
-
- Posts: 6337
- Joined: Tue Mar 20, 2018 5:34 am
Re: Can I do conditional coloring with stimulsoft?
Hello,
Please send us a test data for your report and the necessary result, we will try to find a solution for you.
Thank you.
Please send us a test data for your report and the necessary result, we will try to find a solution for you.
Thank you.
Re: Can I do conditional coloring with stimulsoft?
When the "Adi" column is the same, let the color be the same as in the pdf file I sent.sorry i don't know english very much. I hope you understand.
- Attachments
-
- sample.pdf
- (192.1 KiB) Downloaded 448 times
-
- expdata.rar
- (538 Bytes) Downloaded 409 times
Re: Can I do conditional coloring with stimulsoft?
when the column that says "ÜRÜN ADI" in the report is the same.
-
- Posts: 6337
- Joined: Tue Mar 20, 2018 5:34 am
Re: Can I do conditional coloring with stimulsoft?
Hello,
You can use the following expression in the Condition:
(PreviousIsNull(new_table,"Adi") ? false : new_table.Adi == Previous(new_table,"Adi").ToString()) || (NextIsNull(new_table,"Adi") ? true : new_table.Adi == Next(new_table,"Adi").ToString())
Thank you.
You can use the following expression in the Condition:
(PreviousIsNull(new_table,"Adi") ? false : new_table.Adi == Previous(new_table,"Adi").ToString()) || (NextIsNull(new_table,"Adi") ? true : new_table.Adi == Next(new_table,"Adi").ToString())
Thank you.
- Attachments
-
- Screenshot 2021-04-23 235417.png (151.15 KiB) Viewed 11706 times