Export select data to calendar format (ics or ical)
Export select data to calendar format (ics or ical)
obla
Posts: 4Questions: 1Answers: 0
Hi, I have a datables for upcoming concerts events, and i would like to offer the possibility to export select date to an ical or ics file, do you think it's possible ? Can i combine databales.js with ics.js for example (https://github.com/nwcell/ics.js ?
Answers
Yep, it seems very possible - this post here looks like it could do it. You would use
row().data()
(or the DOM as in their example) to get the data.Colin
Thanks Colin ! Perhaps cell().data() is a better way if i want to retrieve the value of each cell separately ?
Possibly, depending on your logic. They'll both get the data, one for the row, one for the cell, so both will deliver, it depends on the efficiency within your code,
Colin