ASPxGridView.AutoFilterCellEditorCreate Event
Enables you to assign editors to individual filter row cells.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.2.dll
NuGet Package: DevExpress.Web
Declaration
Event Data
The AutoFilterCellEditorCreate event's data class is ASPxGridViewEditorCreateEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Column | Gets the data column to which the processed filter row cell corresponds. |
| EditorProperties | Gets or sets the filter cell’s editor. Inherited from ASPxGridEditorCreateEventArgs. |
| KeyValue | Gets the row key value - an object that uniquely identifies the row. |
| Value | Gets or sets the filter cell’s value. Inherited from ASPxGridEditorCreateEventArgs. |
| VisibleIndex | Gets the row’s visible index. |
Remarks
The AutoFilterCellEditorCreate event is raised for each cell within the filter row, and enables you to replace their default editors with custom ones.
The column to which the processed cell corresponds is returned by the ASPxGridViewEditorCreateEventArgs.Column property.
To change the cell’s editor, use the event parameter’s ASPxGridEditorCreateEventArgs.EditorProperties property. The cell’s value is specified by the ASPxGridEditorCreateEventArgs.Value property.
To learn more, see Filtering.