feat: get html (links/styling/img/...) to work in pivot table (#29724)

This commit is contained in:
Maxime Beauchemin
2024-07-31 16:43:56 -07:00
committed by GitHub
parent c094ac3584
commit c5829419e3
5 changed files with 35 additions and 3 deletions

View File

@@ -428,6 +428,18 @@ const config: ControlPanelConfig = {
},
},
],
[
{
name: 'allow_render_html',
config: {
type: 'CheckboxControl',
label: t('Render columns in HTML format'),
renderTrigger: true,
default: true,
description: t('Render data in HTML format if applicable.'),
},
},
],
],
},
],

View File

@@ -105,6 +105,7 @@ export default function transformProps(chartProps: ChartProps<QueryFormData>) {
conditionalFormatting,
timeGrainSqla,
currencyFormat,
allowRenderHtml,
} = formData;
const { selectedFilters } = filterState;
const granularity = extractTimegrain(rawFormData);
@@ -174,5 +175,6 @@ export default function transformProps(chartProps: ChartProps<QueryFormData>) {
dateFormatters,
onContextMenu,
timeGrainSqla,
allowRenderHtml,
};
}