StiListBoxHelper Class
Namespace: Stimulsoft.Dashboard.Components.ListBox
Methods
| Method | Returns | Description |
|---|---|---|
fetchDefaultUserFilters static |
Promise<StiDataFilterRule[]> | |
fetchItems static |
StiListBoxItem[] | |
format static |
string | |
getInitialValues static |
string[] | |
getKeyMeterExpression static |
string | |
getKeyMeterIndex static |
number | |
getNameMeterIndex static |
number | |
isBlank static |
boolean |
Method Details
fetchDefaultUserFilters static
fetchDefaultUserFilters(listBoxElement: StiListBoxElement): Promise<StiDataFilterRule[]>
Parameters
- listBoxElement (StiListBoxElement)
Returns Promise<StiDataFilterRule[]>
fetchItems static
fetchItems(listBoxElement: StiListBoxElement, dataTable: StiDataTable, showBlanks: boolean): StiListBoxItem[]
Parameters
- listBoxElement (StiListBoxElement)
- dataTable (StiDataTable)
- showBlanks (boolean)
Returns StiListBoxItem[]
format static
format(listBoxElement: StiListBoxElement, value: any): string
Parameters
- listBoxElement (StiListBoxElement)
- value (any)
Returns string
getInitialValues static
getInitialValues(element: StiListBoxElement): string[]
Parameters
- element (StiListBoxElement)
Returns string[]
getKeyMeterExpression static
getKeyMeterExpression(listBoxElement: StiListBoxElement): string
Parameters
- listBoxElement (StiListBoxElement)
Returns string
getKeyMeterIndex static
getKeyMeterIndex(table: StiDataTable): number
Parameters
- table (StiDataTable)
Returns number
getNameMeterIndex static
getNameMeterIndex(table: StiDataTable): number
Parameters
- table (StiDataTable)
Returns number
isBlank static
isBlank(data: any): boolean
Parameters
- data (any)
Returns boolean
Fields
| Field | Type | Description |
|---|---|---|
| keyIndex | any | |
| nameIndex | any |