RibbonComboBox

12 Sep 20251 minute to read

Defines the items of Ribbon.

Methods

filter

To filter the data from given data source by using query

| Parameter | Type | Description |
|——|——|————-|
| controlId | string | set the id of the control in which methods needs to be called. |
| dataSource | ` { : }[] | string[] | number[] | boolean[] | Set the data source to filter. | | query (*optional*) | Query | Specify the query to filter the data. | | fields (*optional*) | [FieldSettingsModel`](../combo-box/fieldSettingsModel) | Specify the fields to map the column in the data table. |

Returns void

hidePopup

To open/close DropDownButton popup based on current state of the combobox.

Parameter Type Description
controlId string Gets the id of the control.

Returns void

showPopup

To open/close DropDownButton popup based on current state of the combobox.

Parameter Type Description
controlId string Gets the id of the control.

Returns void

updateComboBox

Updates the combobox properties.

Parameter Type Description
prop RibbonComboBoxSettingsModel Gets the combobox property.
id string Gets the ID of combobox.

Returns void