I've got problem with updating yiigridview via javascript. I'm trying to use it yii 1.1 way:
jQuery.fn.yiigridview.update('grid-id');
but this gets me the error: 'undefined is not a function'
How to update the whole GridView widget (or only one row) in Yii framework 2.0 using javascript?
I have found solution here http://www.yiiframework.com/wiki/655/how-to-use-gridview-with-ajax/ Using pjax:
$.pjax.reload({container:'#idofyourpjaxwidget'});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With