chkang-idk2 commented on PR #23554:
URL: https://github.com/apache/superset/pull/23554#issuecomment-2550790669

   It looks like it's working when I do this
   
   superset-frontend/src/dashboard/components/gridComponents/Chart.jsx
   ```
     exportTable(format, isFullCSV) {
       const logAction =
         format === 'csv'
           ? LOG_ACTIONS_EXPORT_CSV_DASHBOARD_CHART
           : LOG_ACTIONS_EXPORT_XLSX_DASHBOARD_CHART;
       this.props.logEvent(logAction, {
         slice_id: this.props.slice.slice_id,
         is_cached: this.props.isCached,
       });
       exportChart({
         formData: isFullCSV
           // ? { ...this.props.formData, row_limit: this.props.maxRows }
           ? { ...this.props.formData, row_limit: this.props.maxRows, 
isFull:isFullCSV }
           : this.props.formData,
         resultType: 'full',
         resultFormat: format,
         force: true,
         ownState: this.props.ownState,
       });
     }
   ```
   
   superset-frontend/plugins/plugin-chart-table/src/buildQuery.ts
   ```
       // if (formDataCopy.server_pagination) {
       if (formData?.isFull !== true && formDataCopy.server_pagination) {
         console.info("server_pagination")
         moreProps.row_limit =
           ownState.pageSize ?? formDataCopy.server_page_length;
         moreProps.row_offset =
           (ownState.currentPage ?? 0) * (ownState.pageSize ?? 0);
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to