jquery.schedule
jquery.schedule copied to clipboard
Adding data-attributes to events/ schedules
Hey,
I have a project where I want to add additional information (e. x. ids), that can be read by JS, to my events (cells) and schedules (rows). Browsing through the documentation, I noticed the data property right here:
start:'09:00',
end:'12:00',
text:'Text Area',
data:{}
Initially I thought if I put key-value pairs into data, it would add them as data-attributes to my events, but it doesn't. Is there a way to do this with jquery.schedule?
Take a look at this fork is based on another user's extension, that started from the @ateliee's great job!
I've created a way to define custom content to the DOM of the events (see commits of this issue) and I'm using that to display custom content/data