before: it’s just a line of Task-D-52688
after:
maybe
Task-D-52688
btn A
btn B
details:XX-XXXX-Xxx
now i have tried this
scheduler.templates.event_bar_text to return a html string template
but how can i get each instance’s event data when i click the button?
thank you, but how can i get the event id(or event object),when i click the button which returns from function of scheduler.templates.event_bar_text.
may be there are 10 event lines ,each of them has my custom button in it,they are all same html string text.so i cant attach to their each event object after return
following is the code
scheduler.templates.event_bar_text = function (start, end, event) {
return `<button>my buttons</button>` //how to get event object when click ?
}