Hi Bob,
Greetings from Syncfusion support..!
We have validated your reported query “How can I fetch data of appointment on double click” at our end and prepared a sample for your reference which can be viewed from following link.
App.component.ts
|
public onEventRendered(args: EventRenderedArgs) {
// Adding the custom click event to the type "A" event
if (args.data.EventType === 'A') {
args.element.addEventListener('dblclick', this.customClick.bind(this));
}
}
public customClick(args) {
// You can write a code for new functionality to event click here
if (args.detail === 2) {
console.log('Custom click event fires');
const eventData = this.scheduleObj.getEventDetails(args.currentTarget);
console.log(eventData);
} |
Kindly try the above solution and get back to us if you need any further assistance.
Regards,
Praveenkumar