Is there a way to remove the "=" sign from each cell in the summary row?
Hi Brian,
You can create a style for the SummaryRowCellControl and remove the TextBlock element that is responsible for the "=" symbol :
<Style TargetType="igPrim:SummaryRowCellControl" x:Key="CustomSummaryStyle"> .... <Setter Property="SummaryDisplayTemplate"> <Setter.Value> <DataTemplate> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> <TextBlock Text="{Binding SummaryDefinition.SummaryOperand.RowDisplayLabel}" /> <!--Remove this element--> <!--<TextBlock Text=" = "/>--> <TextBlock Text="{Binding Converter={StaticResource SDFormatStringConverter}}"/> </StackPanel> </DataTemplate> </Setter.Value> </Setter> ... </Style>
Then you can easily set this style in the SummaryRowSettings :
<igGrid:XamWebGrid.SummaryRowSettings> <igGrid:SummaryRowSettings AllowSummaryRow="Bottom" Style="{StaticResource CustomSummaryStyle}"/> </igGrid:XamWebGrid.SummaryRowSettings>
Let me know if you have any questions.
Is there any way that the "=" can be removed using c# instead of xaml?
There really isn't a way to clear the template via code. That would have to be a feature request to add that ability. You would need to update the SummaryRowCellControl control template to do it currently.