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)?
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.