TableNG: Update description for wrapHeaderText (#107722)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
})
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user