Back to Devexpress

ASPxGridView.AutoFilterCellEditorCreate Event

aspnet-devexpress-dot-web-dot-aspxgridview-a352da99.md

latest3.0 KB
Original Source

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

csharp
public event ASPxGridViewEditorCreateEventHandler AutoFilterCellEditorCreate
vb
Public Event AutoFilterCellEditorCreate As ASPxGridViewEditorCreateEventHandler

Event Data

The AutoFilterCellEditorCreate event's data class is ASPxGridViewEditorCreateEventArgs. The following properties provide information specific to this event:

PropertyDescription
ColumnGets the data column to which the processed filter row cell corresponds.
EditorPropertiesGets or sets the filter cell’s editor. Inherited from ASPxGridEditorCreateEventArgs.
KeyValueGets the row key value - an object that uniquely identifies the row.
ValueGets or sets the filter cell’s value. Inherited from ASPxGridEditorCreateEventArgs.
VisibleIndexGets 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.

See Also

AutoFilterCellEditorInitialize

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace