I was going to use the API to delete that model.id but it turns out that's unnecessary and actually causes problems.

What is puzzling me is that this works if the delteClicked function is totally empty, I came across it quite by accident... but WHY does it work? What is it doing? There is no deleteClicked in SubpanelListView so where is it getting it from?

if you take a closer look at the subpanel-list.js (core) it extends reocrdlist.js and on that controller there is an event for list:deleterow:fire, this is just a wild guess but maybe its being triggered as well when your event is fired.

if you take a closer look at the subpanel-list.js (core) it extends reocrdlist.js and on that controller there is an event for list:deleterow:fire, this is just a wild guess but maybe its being triggered as well when your event is fired.

Thanks EvilPeri,I guess that's a good reason for it to work, but I'm not happy with having an empty function for the deleteClicked. So I guess the right question is what is the proper syntax for calling the parent function?