Reloading a view on CRUD delete

OK, I’m completely stumped. I have an application which lists out items via a lister, but also provides a CRUD to edit them more extensively. I can get reloading to work when editing or creating an item with the CRUD, and I can get the CRUD to reload when I edit or create an item outside the CRUD. But I can’t figure out how to get the Lister to update when the CRUD deletes a record.

I’ve tried everything I can think of, including setting an appropriate notifyDefault action (works great for edit or create) and even adding an afterDelete hook like:

$caseModel->addHook(‘afterDelete’, function ($m, $id) use ($cases){
$cases->jsReload();
return([$cases->jsReload()]);
});

(I have multiple reloads in there as part of desperately trying everything I can think of to get something to work). Nothing works – cases (the lister) never seems to get reloaded.

Any suggestions? Is this even possible?

Thanks,
Sam

perhaps it’s a case which could be added to this PR: