mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Make cell-click filter in table viz optional (#1762)
* Make cell-click filter in table viz optional - Added table_filter checkbox in table viz - If set to false, clicking on a cell in table will not apply filter to dashboard * Fix codeclimate issue * Change default to false
This commit is contained in:
@@ -264,7 +264,7 @@ export const visTypes = {
|
||||
['table_timestamp_format'],
|
||||
['row_limit'],
|
||||
['page_length'],
|
||||
['include_search'],
|
||||
['include_search', 'table_filter'],
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -1462,6 +1462,13 @@ export const fields = {
|
||||
description: 'Whether to include a client side search box',
|
||||
},
|
||||
|
||||
table_filter: {
|
||||
type: 'CheckboxField',
|
||||
label: 'Table Filter',
|
||||
default: false,
|
||||
description: 'Whether to apply filter when table cell is clicked',
|
||||
},
|
||||
|
||||
show_bubbles: {
|
||||
type: 'CheckboxField',
|
||||
label: 'Show Bubbles',
|
||||
|
||||
Reference in New Issue
Block a user