Spread for ASP.NET 12 Product Documentation
SortColumns(Int32,Boolean,IComparer) Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class > SortColumns Method : SortColumns(Int32,Boolean,IComparer) Method
Row whose values are compared during sorting
Whether the sort is ascending
IComparer object used to compare the values
Sorts all the columns in the sheet according to the specified parameters.
Syntax
'Declaration
 
Public Overloads Function SortColumns( _
   ByVal keyRow As Integer, _
   ByVal ascending As Boolean, _
   ByVal comparer As IComparer _
) As Boolean
'Usage
 
Dim instance As SheetView
Dim keyRow As Integer
Dim ascending As Boolean
Dim comparer As IComparer
Dim value As Boolean
 
value = instance.SortColumns(keyRow, ascending, comparer)
public bool SortColumns( 
   int keyRow,
   bool ascending,
   IComparer comparer
)

Parameters

keyRow
Row whose values are compared during sorting
ascending
Whether the sort is ascending
comparer
IComparer object used to compare the values
See Also

Reference

SheetView Class
SheetView Members
Overload List