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


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

Parameters

keyColumn
Column whose values are compared during sorting
ascending
Whether the sort is ascending
showIndicator
Whether to display the sort indicator
comparer
IComparer object used to compare the values
See Also

Reference

SheetView Class
SheetView Members
Overload List