Skip to main content
All docs
V23.2

GanttColumnHeaderFilterBuilder.AllowSearch(Boolean) Method

OBSOLETE

Use DataGrid search.enabled or TreeList search.enabled instead.

Mirrors the client-side allowSearch option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[Obsolete("Use DataGrid search.enabled or TreeList search.enabled instead.")]
public GanttColumnHeaderFilterBuilder AllowSearch(
    bool value
)

Parameters

Name Type Description
value Boolean

A JavaScript expression that specifies the option value.

Returns

Type Description
GanttColumnHeaderFilterBuilder

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().HeaderFilter(filter => filter
            .AllowSearch(true)
        );
    })
)
See Also