TableNG: Update description for wrapHeaderText (#107722)

This commit is contained in:
Paul Marbach
2025-07-07 12:36:41 -04:00
committed by GitHub
parent 34c7ea9c28
commit 7181f8d89d
4 changed files with 4 additions and 7 deletions
@@ -965,7 +965,7 @@ export interface TableFieldOptions {
minWidth?: number;
width?: number;
/**
* Enables text wrapping for the display name in the table header.
* Enables text wrapping for column headers
*/
wrapHeaderText?: boolean;
}
+1 -1
View File
@@ -105,7 +105,7 @@ TableFieldOptions: {
filterable?: bool
// Hides any header for a column, useful for columns that show some static content or buttons.
hideHeader?: bool
// Enables text wrapping for the display name in the table header.
// Enables text wrapping for column headers
wrapHeaderText?: bool
} @cuetsy(kind="interface")
@@ -105,10 +105,7 @@ export const plugin = new PanelPlugin<Options, FieldConfig>(TablePanel)
.addBooleanSwitch({
path: 'wrapHeaderText',
name: t('table.name-wrap-header-text', 'Wrap header text'),
description: t(
'table.description-wrap-header-text',
'Enables text wrapping for the field name in the table header'
),
description: t('table.description-wrap-header-text', 'Enables text wrapping for column headers'),
category,
defaultValue: defaultTableFieldOptions.wrapHeaderText,
})
+1 -1
View File
@@ -11740,7 +11740,7 @@
"description-count-rows": "Display a single count for all data rows",
"description-fields": "Select the fields that should be calculated",
"description-min-column-width": "The minimum width for column auto resizing",
"description-wrap-header-text": "Enables text wrapping for the field name in the table header",
"description-wrap-header-text": "Enables text wrapping for column headers",
"image-cell-options-editor": {
"description-alt-text": "Alternative text that will be displayed if an image can't be displayed or for users who use a screen reader",
"description-title-text": "Text that will be displayed when the image is hovered by a cursor",