#4290 (Cannot export to xls and pdf under react)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
JS console says: Uncaught TypeError: rp_obj.get_URL_PARAM_COLUMNS is not a function
Concepts sous-jacents
Commentaires
- 5 ans, 2 mois ago by Sharif Mehedi about #4290 (Cannot export to xls and pdf under react) : this is done now.
- 5 ans, 2 mois ago by Luc Saffre about #4290 (Cannot export to xls and pdf under react) : Compare with the extjs implementation. The xls is built on the server and the action just returns an URL. The tricky part is to also pass information about which columns are visible and their widths.
- 5 ans, 2 mois ago by Sharif Mehedi about #4290 (Cannot export to xls and pdf under react) : Okay. this was actually there before but in the process of my work I broke this functionality. I will fix this now.
- 5 ans, 2 mois ago by Sharif Mehedi about #4290 (Cannot export to xls and pdf under react) : I think this was never implemented on React. We can do it in two ways, one is to have it processed in the backend by appy and download the file and the other method would be to do it in the frontend using javascript based modules.
- 5 ans, 2 mois ago by Luc Saffre about #4290 (Cannot export to xls and pdf under react) : This comes in JS console when I try to export a table to xls. I guess that it is an accidental change in components/App.js line 57.