mapp.ui.elements.dataviewDialog()
Exports the dialog method as mapp.ui.elements.dataviewDialog()
Requires
Methods
(inner) dataviewDialog(dataview)
Creates a dialog which can hold dataviews: charts and tables.
The dialog is resizable and allows for a width and height param config.
Assigns a dataview_dialog
object to the dataview which holds the created dialog.
{
"target": "dialog"
"dialog_css": {
"width": 300,
"height": 400,
"minHeight": 350,
"minWidth": 250,
}
...
}
Parameters:
PropertiesName | Type | Description |
---|---|---|
dataview | Object | The dialog configuration object. |
Name | Type | Attributes | Description |
---|---|---|---|
dataview.chkbox | HTMLElement | Checkbox that controls whether the dataview is displayed or not. | |
dataview.key | String | Key identifier of the chart/table. | |
dataview.label | String | Label to be used as the dialog header. | |
dataview.dialog_css | Object | <optional> | An object with and a height and a width. |