I'm trying to figure it out how to get the event the tooltip is shown on so I can decide if the delete button is shown.
Here's what I have now which obviously doesn't work:
features: {
eventTooltip : {
showOn : 'click',
renderer: data => `
custom html to show in the tooltip
`,
tooltip : {
tools : {
delete: this.eventRecord.status == 'published' ? false : true
},
},
},