[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ComboBoxBaseBuilder-3.ItemFormatter

ItemFormatter Method

ItemFormatter(string)

Configurates ItemFormatter. Sets a function used to customize the values shown in the drop-down list.

Declaration
public TBuilder ItemFormatter(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

The function takes two arguments, the item index and the default text or html, and returns the new text or html to display.