react-data-export icon indicating copy to clipboard operation
react-data-export copied to clipboard

React data export not working in web view

Open anik587 opened this issue 6 years ago • 0 comments

React export excel not working on web view(android) but working on the browser. My code is given below.


 <ExcelFile element={<button className={'btn btn-primary btn-block'}>Excel</button>}
                               filename={props.filters.reportName} fileExtension={'xlsx'}>
                        <ExcelSheet dataSet={props.dataSetExcel} name="Organization"/>
                    </ExcelFile>

Normally download is working but downloading through webview (android) is not working.

Need to download using :

const ExcelFile = ReactExport.ExcelFile;
const ExcelSheet = ReactExport.ExcelFile.ExcelSheet;

Steps to reproduce: Just build an android app(commonly known as web app not react native app) using those code and data

Lib Version: ^0.5.0

anik587 avatar Aug 07 '19 13:08 anik587