We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Border of frozen columns

Thread ID:

Created:

Updated:

Platform:

Replies:

123466 Mar 20,2016 08:02 PM UTC Mar 22,2016 06:42 AM UTC WPF 3
loading
Tags: SfDataGrid
Kurt Zimmermann
Asked On March 20, 2016 08:02 PM UTC

Hi,

it would be nice to have the right border of the outermost frozen column different (for example a greater width) like in Excel.
I tried to solve this in Setting the CellStyle of the GridTextColumn, but that does not work (I also set the RowStyle and AlternateRowStyle of the SfDataGrid).
Is there an easy solution?

Thanks, Kurt

Jayapradha S [Syncfusion]
Replied On March 21, 2016 09:13 AM UTC

Hi Kurt,

Thank you for contacting Syncfusion Support.

Yes. It is possible to set the border for Frozen columns in SfDataGrid like in Excel. You can set the border thickness for Frozen columns, by customizing the GridCell and GridHeaderCellControl Visual styles.


Code Example:

<VisualState x:Name="FrozenColumnCell">

       <Storyboard BeginTime="0">

           <ThicknessAnimationUsingKeyFrames BeginTime="0"

                                             Duration="1"

                                             Storyboard.TargetName="PART_GridCellBorder"

                                             Storyboard.TargetProperty="BorderThickness">

                        <EasingThicknessKeyFrame KeyTime="0"

                                                 Value="0,0,3,1"/>

                        </ThicknessAnimationUsingKeyFrames>

      </Storyboard>

</VisualState>


Please find the sample from the following location,
Sample Link: http://www.syncfusion.com/downloads/support/forum/123466/ze/FrozenColumnBorder1698647548

Regards,
Jayapradha


Kurt Zimmermann
Replied On March 21, 2016 02:45 PM UTC

Thank you very much!

Work's like a charm.

Regards, Kurt

Ashwini Paranthaman [Syncfusion]
Replied On March 22, 2016 06:42 AM UTC

Hi Kurt,
We are glad that your issue has been fixed.
Please let us know if you need any other assistance.
Regards,
Ashwini P.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;