In kartik-v's DetailView "delete" button not working

Try to use kartik-v DetailView

but my "delete" button cannot work.

form have "deleteOtions" attribute:

echo DetailView::widget([

'model'=>$model,


'attributes'=>$attributes,


'deleteOptions'=>[ // your ajax delete parameters


    'params' => ['id' => $model->id, 'custom_param' => true],


],

]);

At screenshot you can see that "clik" event for this button is not bonded with sutable script (must be kd-detail-view.min.js), but its not. So, when I try to click this button nothing happends. I dont know why.

Can somebody help me?

6500

Снимок экрана от 2015-04-28 19:57:28.png

Check this Gist post

and another answer in the forum