[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.MultiSelectBuilder-1.CustomFilter

CustomFilter Method

CustomFilter(string)

Configurates CustomFilter. Sets the name of a client-side function used to filter the items instead of the built-in matching logic.

Declaration
public virtual MultiSelectBuilder<T> CustomFilter(string value)
Public Overridable Function CustomFilter(value As String) As MultiSelectBuilder(Of T)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
MultiSelectBuilder<T>

Current builder.

Remarks

The function takes three parameters: the data item to test, the current filter text, and the display text after DisplayMemberPath processing. It returns true to include the item and false to exclude it. Requires ShowFilterInput(bool) to be true. The default value is null.