mirror of
https://github.com/apache/superset.git
synced 2026-04-17 15:15:20 +00:00
feat: get html (links/styling/img/...) to work in pivot table (#29724)
This commit is contained in:
committed by
GitHub
parent
c094ac3584
commit
c5829419e3
@@ -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.'),
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user