Bug Report T305256
Visible to All Users

Conditional Formatting Icons are incorrectly aligned in cells representing string values

created 9 years ago

Hi, I have a pivot grid and I bind it to a list of PropertyCells which are defined:

C#
public class PropertyCell { public string CurveName { get; set; } public string PropertyName { get; set; } public string PropertyValue { get; set; } public string PropertyContext { get; set; } public string Type { get; set; } }

I configured the pivot fields in the following

XAML
<dxpg:PivotGridControl.Fields> <dxpg:PivotGridField Area="RowArea" FieldName="PropertyName" Name="fieldProperty" Caption="Property" /> <dxpg:PivotGridField Area="ColumnArea" FieldName="CurveName" Name="fieldCurve" Caption="Curve" /> <dxpg:PivotGridField Area="DataArea" FieldName="PropertyValue" Name="fieldValue" Caption="Value" SummaryType="Min" /> <dxpg:PivotGridField FieldName="Type" Name="fieldType" Visible="False" /> <dxpg:PivotGridField FieldName="PropertyContext" Name="fieldContext" Visible="False" /> </dxpg:PivotGridControl.Fields>

As you can see, data value is a string. Now consider that I want to setup conditional highlighting for cells where PropertyName = "X" and Value = "Y"
While this is pretty easy to setup with Conditional Formatting Manager even in runtime, I can't figure how to align text in cells -- now data cell text is aligned left and when I specify conditional formatting with Icon, cell text gets overlapped with an icon

How do I specify data cell text to be aligned left and conditional formatting icon to be aligned right (and vice versa)?

Comments (1)
DevExpress Support Team 9 years ago

    Thank you for your report. I have reproduced the described problem on my side. This behavior looks like a bug. It will require some time to research it in greater detail. I have converted this thread to a bug report and passed to our developers for further research. We will update the thread once we have any results.

    Answers approved by DevExpress Support

    created 9 years ago (modified 9 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.