Back to Devexpress

ASPxTreeList.AutoFilterCellEditorCreate Event

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-aspxtreelist-082f40f9.md

latest3.1 KB
Original Source

ASPxTreeList.AutoFilterCellEditorCreate Event

Enables you to assign editors to individual filter row cells.

Namespace : DevExpress.Web.ASPxTreeList

Assembly : DevExpress.Web.ASPxTreeList.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxTreeListEditorCreateEventHandler AutoFilterCellEditorCreate
vb
Public Event AutoFilterCellEditorCreate As ASPxTreeListEditorCreateEventHandler

Event Data

The AutoFilterCellEditorCreate event's data class is ASPxTreeListEditorCreateEventArgs. 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.
ValueGets or sets the filter cell’s value. Inherited from ASPxGridEditorCreateEventArgs.

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 ASPxTreeListEditorCreateEventArgs.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.

Note

Online Demos Refer to the Tree List - Data Filter Row(Web Forms) online demo to review how to filter Tree List data nodes using the Filter Row.

See Also

AutoFilterCellEditorInitialize

Tree List

ASPxTreeList Class

ASPxTreeList Members

DevExpress.Web.ASPxTreeList Namespace