ComponentOne True DBGrid for WinForms
AllowSort Property

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid.BaseGrid Namespace > Frame Class : AllowSort Property
Gets or sets a value indicating the ability of the grid to automatically sort data when a column header is clicked.
Syntax
'Declaration
 
Public Property AllowSort As System.Boolean
public System.bool AllowSort {get; set;}
Remarks

If True, and if the DataView property is set to GroupBy, the grid will automatically filter column data upon grouping action.

If False, the grid will fire the C1.Win.C1TrueDBGrid.C1TrueDBGrid.Sort event.

If the DataView property is set to Group By and the user attempts to drag a column header into the grouping area, the grid will automatically sort the column data.

If False, the C1.Win.C1TrueDBGrid.C1TrueDBGrid.Sort event allows the application to sort the data.

See Also

Reference

Frame Class
Frame Members