Skip to main content

BootstrapClientListBoxItem.GetFieldText(fieldIndex) Method

Returns the list item’s text value that corresponds to a data field specified by its index.

Declaration

GetFieldText(
    fieldIndex: number | string
): string

Parameters

Name Type Description
fieldIndex string | number

An integer value that specifies the field’s index within the editor’s Fields collection.

Returns

Type Description
string

A string value representing the list item’s text value that corresponds to the specified data field.

Remarks

Note

This method is not in effect for BootstrapClientCheckBoxList and BootstrapClientRadioButtonList objects.

Use the GetFieldText method to obtain the list item’s text value corresponding to a data field specified by the field index within the editor’s Fields collection (BootstrapListBox.Fields or BootstrapComboBox.Fields).

See Also