Gets or sets a value indicating the ability of the grid to automatically sort data when a column header is clicked.
[Visual Basic]
Public Property AllowSort As Boolean
[C#]
public bool AllowSort {get;set;}
[Delphi]
public property AllowSort: Boolean read get_AllowSort write set_AllowSort;
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 Sort event.
If the DataView property is set to GroupBy and the user attempts to drag a column header into the grouping area, the grid will automatically sort the column data.
If False, the Sort event allows the application to sort the data.
See Also
C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |