Skip to content

@sqlrooms/deck / DeckMapSettingsPanelProps

Interface: DeckMapSettingsPanelProps

Properties

title

title: string


selectedTable?

optional selectedTable?: string


config

config: DeckMapConfig


tables

tables: DataTable[]


onClose?

optional onClose?: () => void

Returns

void


onTableChange

onTableChange: (table) => void

Parameters

ParameterType
tableDataTable

Returns

void


onTitleChange

onTitleChange: (title) => void

Parameters

ParameterType
titlestring

Returns

void


onConfigChange

onConfigChange: (config) => void

Parameters

ParameterType
configDeckMapConfig

Returns

void


readOnly?

optional readOnly?: boolean


customConfig?

optional customConfig?: boolean

Custom maps stay on the JSON editor so basic controls cannot clobber them.


preferDatasetSource?

optional preferDatasetSource?: 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.