TreeListFilterRowBuilder.ApplyFilterText(JS) Method
Specifies text for a hint that appears when a user pauses on a button that applies the filter. Mirrors the client-side applyFilterText option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public TreeListFilterRowBuilder ApplyFilterText(
JS value
)
Parameters
Name | Type | Description |
---|---|---|
value | JS | A JavaScript expression that specifies the option value. |
Returns
Type | Description |
---|---|
TreeListFilterRowBuilder | 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()
.FilterRow(row => row
.ApplyFilterText(new JS("myValue"))
)
)
See Also