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.

fixed columns in excel

Thread ID:

Created:

Updated:

Platform:

Replies:

60326 May 2,2007 01:18 PM May 3,2007 03:17 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
swellerb
Asked On May 2, 2007 01:18 PM

Is it possible to generate an excel spreadsheet with fixed rows and columns? I would like to have headers that don't move when you scroll down and also have the first few columns fixed when scrolling the rest of the columns to the right. Ideally I would like to render a gridview with an option to generate an excel spreadsheet with the above options. Is this possible? Thank you.

Melba Winshia [Syncfusion]
Replied On May 3, 2007 03:17 AM

Hi Swellerb,

Thanks for your interest in Essential XlsIO.

Issue 1: (Is it possible to generate an excel spreadsheet with fixed rows and columns)
--------

In Excel, every workbook has 256 columns and 65,526 rows. These values are fixed and cannot be changed.

Issue 2: (headers that don't move when you scroll down and also have the first few columns fixed)
--------

You can achieve this by using FreezePane property. Here is the code snippet to achieve this:

/Applying freezing pane in the sheet by specifying a cell
sheet.Range["B2"].FreezePanes();

Here is the sample for your reference:

http://websamples.syncfusion.com/samples/XlsIO.Web/4.4.0.51/60326/main.htm

Kindly let me know if you have any other questions.

Thanks,
Melba

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.

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.

;