@sqlrooms/deck / DeckMapSettingsPanelProps
Interface: DeckMapSettingsPanelProps
Properties
title
title:
string
selectedTable?
optionalselectedTable?:string
config
config:
DeckMapConfig
tables
tables:
DataTable[]
onClose?
optionalonClose?: () =>void
Returns
void
onTableChange
onTableChange: (
table) =>void
Parameters
| Parameter | Type |
|---|---|
table | DataTable |
Returns
void
onTitleChange
onTitleChange: (
title) =>void
Parameters
| Parameter | Type |
|---|---|
title | string |
Returns
void
onConfigChange
onConfigChange: (
config) =>void
Parameters
| Parameter | Type |
|---|---|
config | DeckMapConfig |
Returns
void
readOnly?
optionalreadOnly?:boolean
customConfig?
optionalcustomConfig?:boolean
Custom maps stay on the JSON editor so basic controls cannot clobber them.
preferDatasetSource?
optionalpreferDatasetSource?:boolean
Document maps own their dataset in config.datasets. Prefer that table over selectedTable, which is only a sidecar. Dashboards leave this false so the shared dashboard selected table is shown.