casveri.blogg.se

Itr file download
Itr file download











The list shows the titles and information about each survey. The page the download CSV button(s) are displayed on is a list. This report is a CSV file with headers that pertain to each question and corresponding numbers which show how many people selected each answer. Once different users have answered the surveys, the admin of the website should be able to click a button that downloads a report. Each survey has a set number of questions and each question has 2-5 answers. To provide a little more context about the specific problem, I have a list of surveys. I am using Material-UI components for the button and would like to keep the functionality as closely tied to React as possible, only using vanilla JS if absolutely necessary. I have had no luck so far but feel very close to the solution.Įssentially, I want to download a CSV file on the click of a button. I have tried using several different libraries, even combinations of libraries, in order to get the desired results. There are several posts around this topic, but none of them quite seem to solve my problem.













Itr file download