Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing AutoFilter shouldn't throw an exception #34

Conversation

igitur
Copy link
Member

@igitur igitur commented Sep 16, 2016

Clearing AutoFilter shouldn't throw an exception, even if no AutoFilter is enabled. It should just silently continue.

…er is enabled. It should just silently continue.
@skkanagaraj
Copy link

worksheet.AutoFilter.Enabled=false;
It throws "object reference not set to an instance of an object".

@AmirBosch AmirBosch merged commit b9feb81 into ClosedXML:develop Sep 16, 2016
@igitur igitur deleted the autofilter-clear-shouldnt-throw-exception-if-disabled branch September 22, 2016 07:49
MichaelKetting pushed a commit to rubicon-oss/DocumentPartner.ClosedXML that referenced this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants