Skip to main content

BootstrapClientComboBox.InsertItem(index, texts) Method

Inserts a new item specified by its display text, associated value and displayed image into the editor’s item collection, at the position specified.

Declaration

InsertItem(
    index: number,
    texts: string[] | string,
    value?: any,
    iconCssClass?: string
): void

Parameters

Name Type Description
index number

An integer value that represents the index position.

texts string | string[]
value any

An object that represents the item’s associated value.

iconCssClass string

A String value specifying the CSS class of the image displayed by the list item.

See Also