[]
        
(Showing Draft Content)

C1.Web.Mvc.ComboBoxBase-1.ItemFormatter

ItemFormatter Property

ItemFormatter

Gets or sets a function used to customize the values shown in the drop-down list.

Declaration
[JsonConverter(typeof(FunctionConverter))]
public string ItemFormatter { get; set; }
Remarks

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