Override delete confirm dialog in Yii2

category:  Yii2.0 framework

Yii version In the grid view widget, the delete button uses the window confirm dialog which is simple. But it would be better if it can be changed to use the confirm dialog with bootstrap style. Since Yii2 is already integrated with the bootstrap widget. In this tutorial, I will share how I implement the new confirm dialog with a translated message by Yii::t().   Here what we will do Download the bootboxjs which is a small javascript library. It allows you … Read More