GanttColumnBuilder<T>.FilterOperations(IEnumerable<GridFilterOperations>) Method
In This Article
Specifies available filter operations. Applies if allowFiltering is true and the filterRow is visible. Mirrors the client-side filterOperations object.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public GanttColumnBuilder<T> FilterOperations(
IEnumerable<GridFilterOperations> value
)
#Parameters
Name | Type | Description |
---|---|---|
value | IEnumerable<Grid |
The option value. |
#Returns
Type | Description |
---|---|
Gantt |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Gantt()
.Columns(columns => {
columns.Add().FilterOperations(new[] { GridFilterOperations.Contains });
})
)
See Also