deleteAction reload page...

Hello everybody,

I found many people asking this same question, but I was unable to find a solution so I ask again … sorry!

I was able to implement actionIndex, actionView, actionCreate, actionUpdate with ajax/pjax (refreshing the page without page reload), but was unable to do similar thing with actionDelete (I am not able to avoid the page reload, caused by redirect).

I searched a lot without finding anything useful.

So my question: Is it possible to implement actionDelete (with Yii2) that refreshes the GridView without reloading the page (ajax/pjax style)? If yes, please how?

Many thanks in advance for any suggestion/hint.

Regards

Dario

Many thanks everybody anyway,

I solved myself!

Regards

Dario