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.

Multiple AutoFilter Ranges?

Thread ID:

Created:

Updated:

Platform:

Replies:

73791 May 19,2008 05:50 PM May 20,2008 07:46 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
Administrator [Syncfusion]
Asked On May 19, 2008 05:50 PM

Hi. I'm wondering if it is possible to assign multiple Autofilter ranges to the same sheet with XLSIO?

Any help would be appreciated.


Yavanaarasi G [Syncfusion]
Replied On May 20, 2008 07:46 AM

Hi Hockett,

Thank you for your interest in Syncfusion products.

Yes. It is possible to assign multiple Autofilter ranges to the same sheet with XlSIO. Please refer the below code snippet:


[C#]
IRanges rangesOne = sheet.CreateRangesCollection();
rangesOne.Add(sheet.Range["A1:C7"]);
sheet.AutoFilters.FilterRange = rangesOne;


Here is the sample for your reference:

http://websamples.syncfusion.com/samples/XlsIO.Windows/F73791/ExcelAutofilter/main.htm

Please try this and let me know if this helps.

Regards,
G.Yavana





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.

;