mirror of
https://github.com/apache/superset.git
synced 2026-06-04 23:29:24 +00:00
feat: add dashboard page full xlsx export (#24287)
Co-authored-by: Vitali Logvin <vitali.logvin@noogadev.com>
This commit is contained in:
@@ -140,6 +140,7 @@ class Chart extends React.Component {
|
||||
this.exportCSV = this.exportCSV.bind(this);
|
||||
this.exportFullCSV = this.exportFullCSV.bind(this);
|
||||
this.exportXLSX = this.exportXLSX.bind(this);
|
||||
this.exportFullXLSX = this.exportFullXLSX.bind(this);
|
||||
this.forceRefresh = this.forceRefresh.bind(this);
|
||||
this.resize = this.resize.bind(this);
|
||||
this.setDescriptionRef = this.setDescriptionRef.bind(this);
|
||||
@@ -337,6 +338,10 @@ class Chart extends React.Component {
|
||||
this.exportTable('xlsx', false);
|
||||
}
|
||||
|
||||
exportFullXLSX() {
|
||||
this.exportTable('xlsx', true);
|
||||
}
|
||||
|
||||
exportTable(format, isFullCSV) {
|
||||
const logAction =
|
||||
format === 'csv'
|
||||
@@ -451,6 +456,7 @@ class Chart extends React.Component {
|
||||
exportCSV={this.exportCSV}
|
||||
exportXLSX={this.exportXLSX}
|
||||
exportFullCSV={this.exportFullCSV}
|
||||
exportFullXLSX={this.exportFullXLSX}
|
||||
updateSliceName={updateSliceName}
|
||||
sliceName={sliceName}
|
||||
supersetCanExplore={supersetCanExplore}
|
||||
|
||||
Reference in New Issue
Block a user