add config to show/hide table header

This commit is contained in:
jeffvli
2026-01-29 19:43:00 -08:00
parent a496c04701
commit c1f48b21a4
30 changed files with 90 additions and 7 deletions
@@ -166,6 +166,18 @@ export const TableConfig = ({
postProcess: 'titleCase',
}),
},
{
component: (
<ListConfigBooleanControl
onChange={(e) => setList(listKey, { table: { enableHeader: e } })}
value={list.table.enableHeader}
/>
),
id: 'enableHeader',
label: t('table.config.general.showHeader', {
postProcess: 'sentenceCase',
}),
},
{
component: (
<ListConfigBooleanControl