OSH.UI.Styler
- Source:
Classes
Methods
addFn(dataSourceIds, fn)
Adds a function
Parameters:
| Name | Type | Description |
|---|---|---|
dataSourceIds |
Array | the list of datasources |
fn |
function | the function to apply |
- Source:
clear()
- Source:
getDataSourcesIds() → {Array}
- Source:
Returns:
- Type
- Array
getId() → {string}
Gets the styler id.
- Source:
Returns:
the styler id
- Type
- string
init()
- Source:
initEvents()
- Source:
select(dataSourceIds)
Selects the datasource contained into the list
Parameters:
| Name | Type | Description |
|---|---|---|
dataSourceIds |
Array | the list of datasources |
- Source:
setData(dataSourceId, rec, view, options) → {boolean}
Parameters:
| Name | Type | Description |
|---|---|---|
dataSourceId |
||
rec |
||
view |
||
options |
- Source:
Returns:
- Type
- boolean
setData(dataSourceId, data, view)
Parameters:
| Name | Type | Description |
|---|---|---|
dataSourceId |
string | the datasource id |
data |
Object | the data |
view |
OSH.View | the osh.view |
- Source: