BootstrapClientListBox.InsertItem(index, texts) Method

Inserts a new item into the control’s items collection at the specified index.


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


Name Type Description
index number

An integer value that represents the index position.

texts string[] | string

An array of strings that specifies the item’s display text. Array element positions relate to the positions of the corresponding field within the editor’s BootstrapListBox.Fields collection.

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