We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report
Current behavior
馃洃 This code does not work :
<ExcelExport data={dataSource} ref={exporter => { this._export = exporter; }} > <Grid data={dataSource}> <GridToolbar> <button title="Export PDF" className="k-button k-primary" onClick={this.export}> Export to Excel </button> </GridToolbar> {/* <Column field="tat" title="TATATAT" /> <Column field="row_serial" title="row_serial" /> <Column field="ordered" title="ordered" /> */} {columns && columns.map((column, key) => ( <Column field={column.field} title={column.title} key={key} /> ))} </Grid> </ExcelExport>
馃憤 This one works as expected :
<ExcelExport data={dataSource} ref={exporter => { this._export = exporter; }} > <Grid data={dataSource}> <GridToolbar> <button title="Export PDF" className="k-button k-primary" onClick={this.export}> Export to Excel </button> </GridToolbar> <Column field="tat" title="TATATAT" /> <Column field="row_serial" title="row_serial" /> <Column field="ordered" title="ordered" /> </Grid> </ExcelExport>
Package versions:
The text was updated successfully, but these errors were encountered:
Until we fix this, you could use the excel export package directly, it will work for dynamically set columns. An example: https://stackblitz.com/edit/react-9ab8lv?file=app/main.js
Sorry, something went wrong.
any progress on fixing this?
@digego we have researched it and started working on it.
Once it is in the develop version we will update the issue.
Fixed in version 2.8.0-dev.201903151331. Here is an updated example: https://stackblitz.com/edit/react-7xddct?file=app/main.js
Fixed in 2.8.0
2.8.0
nstoychev
No branches or pull requests
Bug report
Current behavior
馃洃 This code does not work :
馃憤 This one works as expected :
Expected behavior
Environment
Package versions:
The text was updated successfully, but these errors were encountered: