FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class > AddColumn Method : AddColumn(Int32,FilterListBehavior) Method |
'Declaration Public Overloads Sub AddColumn( _ ByVal viewColumnIndex As Integer, _ ByVal listBehavior As FilterListBehavior _ )
'Usage Dim instance As DefaultRowFilter Dim viewColumnIndex As Integer Dim listBehavior As FilterListBehavior instance.AddColumn(viewColumnIndex, listBehavior)
public void AddColumn( int viewColumnIndex, FilterListBehavior listBehavior )
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;
fpSpread1.ActiveSheet.RowFilter.AddColumn(1, FarPoint.Win.Spread.FilterListBehavior.SortAlphabetically)
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True
FpSpread1.ActiveSheet.RowFilter.AddColumn(1, FarPoint.Win.Spread.FilterListBehavior.SortAlphabetically)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10