Perspective Equipment Schedule - Delete event doesn't fire

Good afternoon,
I'm setting an Equipment Schedule component. I start making some tests with the add, move and delete events and everything was working fine.

After moving on the job I try to delete again but with no success, now I'm at the point that the only code that I fire in the "onDeleteEvent" is this:

system.perspective.print("HERE")

and it is not print in the browser, it looks like the event is not fired.
The "deleteEnabled" option is selected.

I've tried to insert a new empty equipment schedule component and the delete events is fired, so the problem is in the one that I'm using; I could start from zero but I should do all the job again.

What could I try to do?

Thank you for the help

I do not understand what you are saying. If HERE is printing in the browser, then the event is being fired.

I'm sorry I write in a bad way.

Actually it is not printing in the browser.

1 Like

Make sure you have an item selected. If you push the delete button without a selection made, the event will not fire.

I add the follow code in the onClickEvent

	system.perspective.print(event.eventId)
	system.perspective.print(event.itemId)

and I have the data print in the browser

event_3926
4

so I click the delete icon but nothing happen, and I confirm that in the onDeleteEvent I have only this code:

	system.perspective.print("HERE")

Check your gateway logs for script errors.

I have a look in the logs showing ALL the logs and there are no errors.

I really don't understand, a new component works without problem, here it looks like the delete event is disabled.

Try saving and reopening the view or the whole designer

Nothing to do, I reboot even the gateway but in doesn't work, the behaviour is the same, the onDeleteEvent seems not fire.

I suggest you contact IA support then.

I send an email to the support, I'll update the topic.

Thanks for the support

Hi, we have exactly the same problem;

Add/Move/Resize/Click events are all OK.

Delete event does NOT fire. Yes we select an event first, and then click delete, but still nothing.

Aiasa21 did you have any response from support?

Hi, actually I use my buttons to manage the events, so I skip this problem. However, when I try to replicate it for the support, I have not been able to.

In the emails with support, they told me that they are not aware of this issue.