BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Constantin,
Thank you for contacting Syncfusion support.
We have analyzed on your query and you can add a border in a specific summary row cell by using SfDataGrid.GroupSummaryCellStyleSelector property. We have prepared a sample based on your requirement and attached in the below sample link, please refer it.
Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/SummaryRow-1385474788.zip
You can find the more details regarding StyleSelectors from the below UG documentation link
UG link: http://help.syncfusion.com/ug/wpf/default.htm#!Documents/styleselectors.htm
Please let us know if you require further assistance.
Thanks,
Ashok
Hi George,
Thank you for contacting Syncfusion Support.
Query 1: can set the different right border to GridSummaryColumn
We analyzed your query and you can set the different right border to GridSummaryColumn with help of StyleSelector. We have prepared a sample by setting different right border to GridSummaryColumn by customizing GridTableSummaryCell. Please refer the following highlighted code snippet which shows how to set the right border thickness :
<Style x:Key=”GridGroupSummaryCellStyle1” TargetType=”{x:Type syncfusion:GridTableSummaryCell}”> <Setter Property=”Background” Value=”Transparent”/> <Setter Property=”BorderBrush” Value=”Green”/> <Setter Property=”Template”> <Setter.Value> <ControlTemplate TargetType=”{x:Type syncfusion:GridTableSummaryCell}”> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name=”BorderStates”> <VisualState x:Name=”LastCell”> <Storyboard BeginTime=”0”> <ThicknessAnimationUsingKeyFrames BeginTime=”0” Duration=”1.0:0:0” Storyboard.TargetProperty=”BorderThickness” Storyboard.TargetName=”PART_GridGroupSummaryCellBorder”> <EasingThicknessKeyFrame KeyTime=”0” Value=”0,0,3,0”/> </ThicknessAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState x:Name=”NormalCell”> <Storyboard BeginTime=”0”> <ThicknessAnimationUsingKeyFrames BeginTime=”0” Duration=”1.0:0:0” Storyboard.TargetProperty=”BorderThickness” Storyboard.TargetName=”PART_GridGroupSummaryCellBorder”> <EasingThicknessKeyFrame KeyTime=”0” Value=”0,0,3,0”/> </ThicknessAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> </ControlTemplate> </Setter.Value> </Setter> </Style> |
Sample link: http://www.syncfusion.com/downloads/support/directtrac/118224/SummaryRow313870424.zip
Query 2: SelectionUnit=”Cell”
We have provide Cell selection support in 12.2. If you are using older product version, it throws the exception. Could you please upgrade your product version to our current version in order to get the fix for this issue?
Query 3:
We have analyzed your query but we unable to understand your requirement clearly. So could you please share more details regarding your query ? Please attach your requirement screenshot that would be more helpful for us to serve you.
Please let us know if you require further assistance,
Thanks,
Ashok
Hi George
Thanks for your update. Please let us if you require further assistance on this.
Thanks,