StiComboBoxHelper Class
Namespace: Stimulsoft.Dashboard.Components.ComboBox
Methods
| Method | Returns | Description |
|---|---|---|
fetchDefaultUserFilters static |
Promise<StiDataFilterRule[]> | |
fetchItems static |
StiComboBoxItem[] | |
getInitialValues static |
string[] | |
getKeyMeterExpression static |
string | |
isBlank static |
boolean |
Method Details
fetchDefaultUserFilters static
fetchDefaultUserFilters(comboBoxElement: StiComboBoxElement): Promise<StiDataFilterRule[]>
Parameters
- comboBoxElement (StiComboBoxElement)
Returns Promise<StiDataFilterRule[]>
fetchItems static
fetchItems(comboBoxElement: StiComboBoxElement, dataTable: StiDataTable, showBlanks: boolean): StiComboBoxItem[]
Parameters
- comboBoxElement (StiComboBoxElement)
- dataTable (StiDataTable)
- showBlanks (boolean)
Returns StiComboBoxItem[]
getInitialValues static
getInitialValues(element: StiComboBoxElement): string[]
Parameters
- element (StiComboBoxElement)
Returns string[]
getKeyMeterExpression static
getKeyMeterExpression(comboBoxElement: StiComboBoxElement): string
Parameters
- comboBoxElement (StiComboBoxElement)
Returns string
isBlank static
isBlank(data: any): boolean
Parameters
- data (any)
Returns boolean
Fields
| Field | Type | Description |
|---|---|---|
| keyIndex | any | |
| nameIndex | any |