Spread Windows Forms 7.0 Product Documentation
SetColumnShowSortIndicator Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SetColumnShowSortIndicator Method


Glossary Item Box

Sets whether the specified column or columns should show a sort indicator when automatically sorted.

Overload List

OverloadDescription
SetColumnShowSortIndicator(Int32,Boolean)Sets whether the specified column on this sheet should display a sort indicator when automatically sorted.  
SetColumnShowSortIndicator(Int32,Int32,Boolean)Sets whether the specified columns on this sheet should display a sort indicator when automatically sorted.  

Remarks

The SetColumnShowSortIndicator method must be called before the user does an AutoSortColumn. Otherwise, the sort indicator is displayed and remains displayed.

The SheetView.SetColumnShowSortIndicator method and the Column.ShowSortIndicator property set whether the column shows the sort indicator the next time that the SheetView.AutoSortColumns method is called for that column. It has no effect until AutoSortColumns is called for that column index.

If you want to change the sort indicator shown for a column, use the SheetView.SetColumnSortIndicator method or the Column.SortIndicator property. These change the sort indicator in the column header and do not affect whether the column is sorted or not.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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