Comments (2)
After fetching the data successfully, call this:
$('#calendar').evoCalendar('addCalendarEvent', [
{
id: 'kNybja6',
name: 'Mom\'s Birthday',
date: 'May 27, 1965',
type: 'birthday',
everyYear: true // optional
},
{...}
]);
You can add as many as you can.
from evo-calendar.
Is it possible to retrieve Event data from a CSV file or equivalent as I have a lot of Events I'd like to add. I'd also be adding events quite regularly.
At the moment, I'm just doing this;
<script>
// initialize your calendar, once the page's DOM is ready
$(document).ready(function() {
$('#calendar').evoCalendar({
language: 'ie',
todayHighlight: 'true',
calendarEvents: [
{
name: "Event Name One",
date: "February/01/2021",
type: "event",
everyYear: "true",
color: "#63d867"
},
{
name: "Event Name Two",
date: "February/14/2021",
type: "event1",
everyYear: "true",
color: "#63d867"
}
]
})
})
</script>
from evo-calendar.
Related Issues (20)
- Event Header Wrong
- Monthly event list instead of day
- Feature Request - Is it possible to show weeks or 2 weeks range in calendar ?
- format.toValue and format.toDisplay undefined
- How to get current month? HOT 1
- How I can get all events for the month? HOT 1
- Fetch events from db? HOT 4
- Style issue with iPad tablets HOT 1
- change gregorian calendar to solar hijri calendar
- How can I make it so that the months can be switched by the scroll wheel?
- Pleaaaase Add Solar Calendar (Jalai Hijri) Too
- selectYear functionality not working HOT 2
- event title limit HOT 1
- add language Korean
- In safari, the title part works as NaN.
- Show all the events from the selected month HOT 1
- adding a czech language/translation HOT 4
- Is it possible to have recurring events every 2-3 weeks instead of every year?
- Can't fetch events from Database
- nao consigo adicionar os eventos recebidos em Php
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evo-calendar.