Last post Jan 07, 2020 09:18 PM by Rion Williams
Jan 07, 2020 08:40 PM|IGotYourDotNet|LINK
Is there a way to upload a file that has 2 columns and output the data right into the grid without saving the file to a folder or database table?
The file has ID and Location in it, that's it, and could be from 1 row to 10,000 rows. I want to upload that data into my grid that has an ID and Location columns. I'd like to do this client side if at all possible
Jan 07, 2020 08:56 PM|IGotYourDotNet|LINK
I found a solution. . Couldn't delete my original post
Jan 07, 2020 09:18 PM|Rion Williams|LINK
You may want to consider looking into the
FileReader API to accomplish this. The basic idea behind that is that you can read files within a file input (including the content within them) on a certain event (i.e. upload a file, read the content you need from it, update the UI accordingly)
can find an example with various use-cases of the API (including reading files on the client) here.