FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class > SortColumns Method : SortColumns(Int32,Boolean,IComparer) Method |
'Declaration Public Overloads Function SortColumns( _ ByVal keyRow As Integer, _ ByVal ascending As Boolean, _ ByVal comparer As IComparer _ ) As Boolean
FarPoint.Web.Spread.SheetView sv; FarPoint.Web.Spread.SortInfo[] s = new FarPoint.Web.Spread.SortInfo[1]; s[0] = new FarPoint.Web.Spread.SortInfo(0, false); sv = FpSpread1.ActiveSheetView; sv.SortColumns(0, false, System.Collections.Comparer.Default);
Dim sv As FarPoint.Web.Spread.SheetView Dim s(1) As FarPoint.Web.Spread.SortInfo s(0) = New FarPoint.Web.Spread.SortInfo(0, False) sv = FpSpread1.ActiveSheetView sv.SortColumns(0, False, System.Collections.Comparer.Default)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional