mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
Periodically update the slices in the dashboard (#374)
* Periodically update the slices in the dashboard * Make the refresh interval changeable * Add the button and the modal for the user to change the refresh interval * Don't use callback for refreshing * Randomize to prevent all widgets refreshing at the same time * Show the loading icon as an overlay when the slices refresh
This commit is contained in:
committed by
Maxime Beauchemin
parent
9a33557112
commit
d8a2b621d8
@@ -35,7 +35,7 @@ function tableVis(slice) {
|
||||
maxes[metrics[i]] = d3.max(col(metrics[i]));
|
||||
}
|
||||
|
||||
var table = d3.select(slice.selector).append('table')
|
||||
var table = d3.select(slice.selector).html('').append('table')
|
||||
.classed('dataframe dataframe table table-striped table-bordered table-condensed table-hover dataTable no-footer', true)
|
||||
.attr('width', '100%');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user