PreviousNextIndex

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: VOID

Access: PUBLIC

Applies to: Progress.Data.BindingSource class

Delegate: Progress.Data.SortRequestEventHandler

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
sender
args

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: Progress.Data.SortRequestEventArgs class


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex