Upload CSV using editor?
Upload CSV using editor?
krupal.jadhav
Posts: 14Questions: 6Answers: 0
Hi everyone,
Can anyone share code for uploading a csv file to server?
Thanks!
This discussion has been closed.
Answers
That is not a feature of Editor I'm afraid. It is possible to do - you could upload the file, parse it locally and use the
create()
method to submit the data to the server for adding to the database. But an explicit upload feature like that is not something that Editor will do out of the box.Allan
Hey @allan if I parse the CSV file locally, how do I call the create() method? I am new to datatables I dont know much.
Hi @krupal.jadhav ,
On the
create()
page there's some good examples. If you're new, it would be worth look at the other examples, there's loads there, as that would help get you started.Cheers,
Colin