Spread Windows Forms 7.0 Product Documentation
Determining Which Header Row Displays the Indicators
See Also Support Options
Spread Windows Forms 7.0 Product Documentation > Developer's Guide > Customizing Row or Column Interaction > Managing Filtering of Rows of User Data > Customizing Simple Filtering > Setting the Appearance of Filter Indicators > Determining Which Header Row Displays the Indicators

Glossary Item Box

If you have multiple row headers then you can specify in which row to display the filter indicators. By default they appear in the bottom of the column header rows. You can specify which row with the AutoFilterIndex property of the ColumnHeader class.

Using Code

Here is an example of setting the AutoFilterIndex property in code.

Example

C# Copy Code
fpSpread1.ActiveSheet.ColumnHeaderRowCount = 3;
fpSpread1.ActiveSheet.ColumnHeader.AutoFilterIndex = 1;
VB Copy Code
FpSpread1.ActiveSheet.ColumnHeaderRowCount = 3
FpSpread1.ActiveSheet.ColumnHeader.AutoFilterIndex = 1

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.