[]
        
(Showing Draft Content)

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

HeaderFormatter Method

HeaderFormatter(string)

Configurates HeaderFormatter. Sets a function that gets the HTML in the control header.

Declaration
public MultiSelectBuilder<T> HeaderFormatter(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
MultiSelectBuilder<T>

Current builder.

Remarks

By default, the control header content is determined based on the Placeholder, MaxHeaderItems, and on the current selection. You may customize the header content by specifying a function that returns a custom string based on whatever criteria your application requires.