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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to freeze rows and coloumns in SpreadsheetControl?

Platform: WPF |
Control: SpreadsheetControl(Classic) |
Published Date: December 8, 2014 |
Last Revised Date: January 28, 2015

SpreadsheetControl provides you with a feature that enables you to freeze rows or columns of the spreadsheet, while scrolling.  To apply the freeze panes, there are two ways in Spreadsheet.

By Ribbon:

Go to the Others tab and click the Freeze Pane button. Select any of the three following options:

  • FreezePanes- Freeze the row and column before the CurrentCell.
  • FreezeTopRow- Freeze top row only.
  • FreezeFirstColumn- Freeze the first column only.

By Code:

You can specify the number of FrozenRows and FrozenColumns of GridModel and also you need to set the VerticalSplit and HorizontalSplit of Worksheet, as shown in the following code example.




2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

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