Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

How do I use my csv data?


Hello

I have Rider HTML Pro and have particularly been investigating the datatables part. I am new to javascript and website building so I am getting very overwhelmed with how it all works. The tutorials, which are very helpful, and examples use inline data, however I would like to use my own csv data. How do I import these csv data files? I am thinking that I may need to use Ajax server-side but this looks very complicated and I don't want to go down that rabbit hole yet if I don't need to.

Thank you


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

The rider uses Datatables plugin that offers javascript powered table export options as shown here. You can check the export dropdown to see how the CSV export option works.

If you need your own CSV export solution you will need to implement it via your server side code.

Regards,
Sean



I also need to be able to export at some stage, for which there seems to be a lot of information but for the moment I am looking at how to import.



Hi,

Please note that importing CVS data is not supported by the Datatable plugin. CVS import is not handled by HTML theme and you will need to use server-side code to implement this.

Regards.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(