Upload CSV using editor?

Upload CSV using editor?

krupal.jadhavkrupal.jadhav Posts: 14Questions: 6Answers: 0

Hi everyone,

Can anyone share code for uploading a csv file to server?

Thanks!

Answers

  • allanallan Posts: 61,697Questions: 1Answers: 10,102 Site admin

    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

  • krupal.jadhavkrupal.jadhav Posts: 14Questions: 6Answers: 0
    edited May 2018

    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.

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    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

This discussion has been closed.