Previous Next

SortRequest event

(Windows only; GUI for .NET only)
The .NET event published when some user action initiates a sort operation in the bound .NET control (for example, clicking on a column header in a grid control).
You can use this event when the BindingSource object is bound to a query or a buffer. If bound to a ProDataSet object, this event applies only to the top-level table displayed in the .NET control.
Return type:
Access:
Applies to:
Delegate:
The delegate for this event defines the following event handler signature:
 
Syntax 
EventHandlerName 
  ( 
     INPUT sender AS CLASS System.Object,
     INPUT args AS CLASS Progress.Data.SortRequestEventArgs
  ).
EventHandlerName
The name of the event handler.
sender
Object reference to the BindingSource object instance that published the event.
args
Object reference to a SortRequestEventArgs object instance containing arguments for the event.
When this event occurs, the event handler must reopen the query associated with the ABL data source object with a modified sort criteria based on the values specified in the SortRequestEventArgs object.
This event occurs only for .NET controls that rely on their data source for sorting.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.