Back to Devexpress

ASPxGridView.AutoFilterCellEditorInitialize Event

aspnet-devexpress-dot-web-dot-aspxgridview-283cffcb.md

latest3.1 KB
Original Source

ASPxGridView.AutoFilterCellEditorInitialize Event

Enables the cell editors displayed within the auto filter row cells to be initialized.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxGridViewEditorEventHandler AutoFilterCellEditorInitialize
vb
Public Event AutoFilterCellEditorInitialize As ASPxGridViewEditorEventHandler

Event Data

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

PropertyDescription
ColumnGets the data column whose cell editor is being initialized.
EditorGets the editor currently being processed. Inherited from ASPxGridEditorEventArgs.
KeyValueGets the row key value - an object that uniquely identifies the row.
ValueGets the editor’s value. Inherited from ASPxGridEditorEventArgs.
VisibleIndexGets the edited row’s visible index.

Remarks

The AutoFilterCellEditorInitialize event is raised before the grid displays the Filter Row, and allows you to initialize its cell editors.

The event parameter’s ASPxGridViewEditorEventArgs.Column property identifies the column whose cell editor is being initialized. The processed editor is returned by the ASPxGridEditorEventArgs.Editor property. Its value is returned by the ASPxGridEditorEventArgs.Value property.

To learn more, see Filtering.

Online Example

View Example: How to apply custom function filter criteria operators

See Also

AutoFilterCellEditorCreate

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace