Version

Sorting class Members

The following tables list the members exposed by Sorting.

Public Constructors
 NameDescription
Public ConstructorSorting Constructor  
Public Properties
 NameDescription
Public PropertyelementReturns the element assoicated with the item. (Inherited from Infragistics.Web.UI.GridBehavior)
Public Propertyevents (Inherited from Infragistics.Web.UI.GridBehavior)
Public Propertyid (Inherited from Infragistics.Web.UI.GridBehavior)
Public PropertyisInitialized (Inherited from Infragistics.Web.UI.GridBehavior)
Public PropertyisUpdating (Inherited from Infragistics.Web.UI.GridBehavior)
Public PropertynameGets the name of the behavior. (Inherited from Infragistics.Web.UI.GridBehavior)
Public PropertysortedColumnsReturns an array with the columns that are currently sorted.  
Public PropertysortedColumnsInfoReturns a json array, with the column names and the sort directions the WebDataGrid is being sorted by. Could be used only for client-side sorting when EnableClientRendering property is set to true. The column parameter indicates the column WebDataGrid is sorted by, key parameter gives the column name, sortDirection shows the direction of sorting, it could be ascending or descending and singleSorting is a parameter of type bool, it's true value indicates that the last sorting is perform by a single column, the false value means sorting by multiple columns.  
Public PropertysortingModeReturns the sorting mode. Corresponds to the server's SortingMode enumeration: 0 - Single, 1 - Multi.  
Public Methods
 NameDescription
Public MethodaddSortColumnAdd a column to be sorted without posting back to the server.  
Public MethodapplySortPost back to the server to apply sorted columns.  
Public MethodapplySortIndicatorCould be used only for client-side sorting when EnableClientRendering property is set to true. This method will display the correct sort indicator for the given column, depending on the value of the sortDirection.  
Public MethodbeginUpdate (Inherited from Infragistics.Web.UI.GridBehavior)
Public MethodclearClears the sorted columns collection and removes the sort indicators off the headers. The order of the rows remains unchanged.  
Public MethoddisposeDisposes of the Sorting behavior.  
Public MethodendUpdate (Inherited from Infragistics.Web.UI.GridBehavior)
Public MethodgetEditingOnGets flag which represents current editing behavior in progress with option to exit edit mode. (Inherited from Infragistics.Web.UI.GridBehavior)
Public MethodgetSortDirectionReturns a column's sort direction. The method can be used to check if the column is sorted. The returned value corresponds to the server's SortDirection enumeration: 0 - None, 1 - Ascending, 2 - Descending.  
Public Methodinitialize (Inherited from Infragistics.Web.UI.GridBehavior)
Public MethodraisePropertyChanged (Inherited from Infragistics.Web.UI.GridBehavior)
Public MethodsortColumnSorts a column.  
Public Methodupdated (Inherited from Infragistics.Web.UI.GridBehavior)
Public Events
See Also