jquery.schedule icon indicating copy to clipboard operation
jquery.schedule copied to clipboard

Adding data-attributes to events/ schedules

Open vincentrohde opened this issue 5 years ago • 1 comments

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?

vincentrohde avatar May 02 '20 23:05 vincentrohde

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

sebasira avatar Apr 11 '24 11:04 sebasira