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

Determine if a row or column is hidden

Thread ID:

Created:

Updated:

Platform:

Replies:

56755 Feb 20,2007 03:49 PM UTC Feb 22,2007 02:25 PM UTC Windows Forms 3
loading
Tags: XlsIO
Matthew
Asked On February 20, 2007 03:49 PM UTC

Using XLSIO 4.4.x, I can't seem to find a way to determine if a row or column is already hidden. How would I accomplish that?

Melba Winshia [Syncfusion]
Replied On February 21, 2007 01:44 PM UTC

Hi Matthew,

You can use IsColumnVisible and IsRowVisible property to detect if a row/column was hidden. Please refer the following code snippet which illustrates the above:

[C#]

bool column = sheet.IsColumnVisible(1);
bool row = sheet.IsRowVisible(1);
MessageBox.Show(column.ToString(),"Hidden or not");

Please refer the following sample which implements the above said feature:

Hide.zip

Kindly take a look at the sample above and let me know if you have any other questions.

Thanks,
Melba

Administrator [Syncfusion]
Replied On February 21, 2007 03:46 PM UTC

Thanks, I'm not sure how I missed that before.

You might consider adding a seealso to the help documentation between these entries and the ShowRow, ShowColumn entries. Also, a note in the FAQ on how to hide rows/columns might mention this as well.

Melba Winshia [Syncfusion]
Replied On February 22, 2007 02:25 PM UTC

Hi Matthew,

Thanks for the update!

Sure we will include this in our documentation and FAQ.

Kindly let me know if you have any other questions.

Regards,
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.

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

;