feat: add drag and drop column rearrangement for table viz (#19381)

This commit is contained in:
stevetracvc
2022-05-24 20:10:57 -06:00
committed by GitHub
parent ce547f4098
commit 7e9b85f76c
8 changed files with 93 additions and 6 deletions

View File

@@ -455,6 +455,20 @@ const config: ControlPanelConfig = {
},
},
],
[
{
name: 'allow_rearrange_columns',
config: {
type: 'CheckboxControl',
label: t('Allow columns to be rearranged'),
renderTrigger: true,
default: false,
description: t(
"Allow end user to drag-and-drop column headers to rearrange them. Note their changes won't persist for the next time they open the chart.",
),
},
},
],
[
{
name: 'column_config',