'Declaration Public Event AutoFilteringColumn As AutoFilteringColumnEventHandler
'Usage Dim instance As FpSpread Dim handler As AutoFilteringColumnEventHandler AddHandler instance.AutoFilteringColumn, handler
public event AutoFilteringColumnEventHandler AutoFilteringColumn
The event handler receives an argument of type AutoFilteringColumnEventArgs containing data related to this event. The following AutoFilteringColumnEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel the filtering. |
Col | Gets or sets the filter column. (Inherited from FarPoint.Web.Spread.AutoFilteredColumnEventArgs) |
FilterString | Gets the filter string. (Inherited from FarPoint.Web.Spread.AutoFilteredColumnEventArgs) |
Spread | Gets or sets the Spread object. (Inherited from FarPoint.Web.Spread.AutoFilteredColumnEventArgs) |
The client-side AutoFilteringColumn event is fired before the client sends the filtering request to the server . If the filtering request is not canceled, the client will send the filtering request to the server.
The server-side AutoFilteringColumn event is fired before the filtering operation is executed. If the filtering is not canceled on the server, the server-side AutoFilteredColumn event will be fired after the filtering operation has been executed.
The client-side AutoFilteredColumn event will be fired after the client receives the filtering result from the server.
If the sheetview RowFilter property is null, the following events will not be fired:
AutoFilteringColumn event (server-side), AutoFilteredColumn event (server-side), and the AutoFilteredColumn event (client-side).
If the columns are filtered with code, for example (FpSpread1.ActiveSheetView.AutoFilterColumn(1,”apple”)), then the client-side AutoFilteringColumn event will not be fired. The other three events are fired in the following order:
AutoFilteringColumn (server-side)
AutoFilteredColumn (server-side)
AutoFilteredColumn (client-side)