TreeListColumnBuilder<T>.AllowHeaderFiltering(JS) Method
In This Article
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 option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public TreeListColumnBuilder<T> AllowHeaderFiltering(
JS value
)
#Parameters
Name | Type | Description |
---|---|---|
value | JS | A Java |
#Returns
Type | Description |
---|---|
Tree |
A reference to this instance after the method is called. |
#Remarks
Use the new JS() expression to set the option’s value.
<script>
var myValue = ...;
</script>
@(Html.DevExtreme().Gantt()
.Columns(columns => {
columns.Add().AllowHeaderFiltering(new JS("myValue"));
})
)
See Also