mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
ReactTable: adds alignment options (#23389)
This commit is contained in:
@@ -17,6 +17,20 @@ export const plugin = new PanelPlugin<Options, CustomFieldConfig>(TablePanel)
|
||||
max: 300,
|
||||
},
|
||||
})
|
||||
.addRadio({
|
||||
path: 'align',
|
||||
name: 'Column alignment',
|
||||
description: 'column alignment (for table)',
|
||||
settings: {
|
||||
options: [
|
||||
{ label: 'auto', value: null },
|
||||
{ label: 'left', value: 'left' },
|
||||
{ label: 'center', value: 'center' },
|
||||
{ label: 'right', value: 'right' },
|
||||
],
|
||||
},
|
||||
defaultValue: null,
|
||||
})
|
||||
.addSelect({
|
||||
path: 'displayMode',
|
||||
name: 'Cell display mode',
|
||||
|
||||
Reference in New Issue
Block a user