Condition for Horizontal alignment affects regular rows
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Condition for Horizontal alignment affects regular rows
Dear Stimulsoft team,
We are now giving the option to user to set condition and font-change for each column (i.e. when salary is less 125, highlight it). We found that when user wants different alignment for condition/style, it affect regular row.
For Example, all rows less than 125 must be on right, and rest left. But within condition value or without, condition affect all rows.
Sample is attached, please review
P.S. Please change the connection string to your machine one
P.P.S. Please ignore the 3rd text field. I took from previous sample .mrt file
Regards,
Iskandar A
We are now giving the option to user to set condition and font-change for each column (i.e. when salary is less 125, highlight it). We found that when user wants different alignment for condition/style, it affect regular row.
For Example, all rows less than 125 must be on right, and rest left. But within condition value or without, condition affect all rows.
Sample is attached, please review
P.S. Please change the connection string to your machine one
P.P.S. Please ignore the 3rd text field. I took from previous sample .mrt file
Regards,
Iskandar A
- Attachments
-
- HorizontalAlignment.mrt
- Regular rows, must be in left, under condition on right.
- (9.58 KiB) Downloaded 139 times
-
- Posts: 6197
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condition for Horizontal alignment affects regular rows
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Condition for Horizontal alignment affects regular rows
Hi,
Given: REGULAR (Salary Alignment - RIGHT)
--------------------------
James___________||___________105
Smith ___________||___________ 90
--------------------------
User wants to change alignment of employee whose salary is more than 100. So he gives StiCondition WITH alignment LEFT. Condition => (Data.Salary > 100, Style = StiTextHorAlignment.Left)
EXPECTED:
--------------------------
James ___________|| 105 _________
Smith ___________||___________90
--------------------------
REALITY: - Both regular and UNDER-Condition rows are changed, whereas only 105 should be LEFT-Alignment
--------------------------
James___________|| 105 ___________
Smith ___________|| 90____________
--------------------------
QUESTION. Why alignment under condition effects regular rows? PLEASE note if condition in one row is true then all proceeding rows will have the same HorAlignment
Regards,
Iskandar A
Given: REGULAR (Salary Alignment - RIGHT)
--------------------------
James___________||___________105
Smith ___________||___________ 90
--------------------------
User wants to change alignment of employee whose salary is more than 100. So he gives StiCondition WITH alignment LEFT. Condition => (Data.Salary > 100, Style = StiTextHorAlignment.Left)
EXPECTED:
--------------------------
James ___________|| 105 _________
Smith ___________||___________90
--------------------------
REALITY: - Both regular and UNDER-Condition rows are changed, whereas only 105 should be LEFT-Alignment
--------------------------
James___________|| 105 ___________
Smith ___________|| 90____________
--------------------------
QUESTION. Why alignment under condition effects regular rows? PLEASE note if condition in one row is true then all proceeding rows will have the same HorAlignment
Regards,
Iskandar A
-
- Posts: 6197
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condition for Horizontal alignment affects regular rows
Hello,
Ok. What is wrong with your report?
Thank you.
Ok. What is wrong with your report?
Thank you.
- Attachments
-
- Annotation 2019-08-27 234924.jpg (22.21 KiB) Viewed 1960 times
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Condition for Horizontal alignment affects regular rows
Hi,
Here is my result.
which version of stimulsoft are you using?
Mine version is - "ReportVersion": "2017.1.6.0",
Here is my result.
which version of stimulsoft are you using?
Mine version is - "ReportVersion": "2017.1.6.0",
- Attachments
-
- result-preview-mrt.PNG (28.58 KiB) Viewed 1948 times
-
- Posts: 6197
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condition for Horizontal alignment affects regular rows
Hello,
Please try to check the last release version.
Thank you.
Please try to check the last release version.
Thank you.
-
- Posts: 105
- Joined: Thu Aug 17, 2017 12:07 pm
Re: Condition for Horizontal alignment affects regular rows
Hi,
What about my version?
The upgrade will be painfull for current situation.
Regards
What about my version?
The upgrade will be painfull for current situation.
Regards
-
- Posts: 6197
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condition for Horizontal alignment affects regular rows
Hello,
Unfortunately, we couldn't fix that issue in the old version. Sorry.
Thank you.
Unfortunately, we couldn't fix that issue in the old version. Sorry.
Thank you.