Skip to main content
All docs
V25.1
  • GanttColumnBuilder<T>.AllowHeaderFiltering(JS) Method

    Specifies whether the header filter can be used to filter data by this column. Applies only if headerFilter.visible is true. By default, inherits the value of the allowFiltering property. Mirrors the client-side allowHeaderFiltering object.

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public GanttColumnBuilder<T> AllowHeaderFiltering(
        JS value
    )

    Parameters

    Name Type Description
    value JS

    A JavaScript expression that specifies the option value.

    Returns

    Type Description
    GanttColumnBuilder<T>

    A reference to this instance after the method is called.

    Remarks

    <script>
        var myValue = ...;
    </script>
    
    @(Html.DevExtreme().Gantt()
        .Columns(columns => {
            columns.Add().AllowHeaderFiltering(new JS("myValue"));
        })
    )
    
    See Also