Hi,
I need to fromat summary definitions in the following way,
1. Need to custimize the text 'Grand Summaries' to my own text2. In some places i dont even need this line 'Grand Summaries'3. In some places, i need only sum, then the 'Grand Summaries and 'Sum' should come in the same line4. 'Sum......' should be displayed in bold format
Could anybody help me to format the grid in above said manners?
Hello,
I apologize that no one has yet answered this post. We were inundated with more posts than we had resources to cover. Since that time we have been adding people to the task of making sure every post gets a reply from an Infragistics employee.
The following XAML will customize the text 'Grand Summaries':
<igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout IsDefault="true" SummaryDescriptionMask="Total Summaries:" SummaryDescriptionMaskInGroupBy= "Summaries for GROUP_BY_VALUE]"> <!-- Set SummaryDescriptionVisibility to actually show the summary description. --> <igDP:FieldLayout.Settings> <igDP:FieldLayoutSettings SummaryDescriptionVisibility="Visible" /> </igDP:FieldLayout.Settings> </igDP:FieldLayout></igDP:XamDataGrid.FieldLayouts>
The following XAML will make the labels bold in both summary and grid headers:
<Style TargetType="{x:Type igDP:LabelPresenter}"> <Setter Property="FontWeight" Value="Bold" /></Style>
The problem with assigning a LabelPresenter style globally is that it affects all labels (summaries and grid headers). I am currently researching how to apply a bold style to one item in the Summary popup.
If you have already found a solution, would you be willing to post what you uncovered here?
Thank you!