[]
        
(Showing Draft Content)

C1.Web.Mvc.MultiSelect-1.CustomFilter

CustomFilter Property

CustomFilter

Gets or sets the name of a client-side function used to filter the items instead of the built-in matching logic.

Declaration
[JsonConverter(typeof(FunctionConverter))]
public virtual string CustomFilter { get; set; }
<JsonConverter(GetType(FunctionConverter))>
Public Overridable Property CustomFilter As String
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 to be true. The default value is null.