Skip to main content

TreeListFilterPanelTextsBuilder.FilterEnabledHint(JS) Method

The hint of the checkbox that applies the filter. Mirrors the client-side filterEnabledHint option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListFilterPanelTextsBuilder FilterEnabledHint(
    JS value
)

Parameters

Name Type Description
value JS

A JavaScript expression that specifies the option value.

Returns

Type Description
TreeListFilterPanelTextsBuilder

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().TreeList()
    .FilterPanel(panel => panel
        .Texts(texts => texts
            .FilterEnabledHint(new JS("myValue"))
        )
    )
)
See Also