Table: Enable actions option (#101069)

pull/101310/head
Adela Almasan 5 months ago committed by GitHub
parent 53e91fd5e8
commit bc00462875
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      public/app/plugins/panel/table/module.tsx

@ -6,6 +6,7 @@ import {
ReducerID,
standardEditorsRegistry,
identityOverrideProcessor,
FieldConfigProperty,
} from '@grafana/data';
import { TableCellOptions, TableCellDisplayMode, defaultTableFieldOptions, TableCellHeight } from '@grafana/schema';
@ -23,6 +24,11 @@ export const plugin = new PanelPlugin<Options, FieldConfig>(TablePanel)
.setPanelChangeHandler(tablePanelChangedHandler)
.setMigrationHandler(tableMigrationHandler)
.useFieldConfig({
standardOptions: {
[FieldConfigProperty.Actions]: {
hideFromDefaults: false,
},
},
useCustomConfig: (builder) => {
builder
.addNumberInput({

Loading…
Cancel
Save