I have placed a button, with jQuery's binded on-click event, inside CGridView. Its HTML code sits in summaryText.
Button works only initially. After grid view is updated by AJAX (after filtering, sorting, pagination) it stops responding. I don't know what causes this. Source code seems untouched and looks identically after grid view contents update like it was before it.
Is there any workaround for this problem or the only way is to disable AJAX-refresh of CGridView?
Thanks in advance for any help and have a nice weekend.
Button works only initially. After grid view is updated by AJAX (after filtering, sorting, pagination) it stops responding. I don't know what causes this. Source code seems untouched and looks identically after grid view contents update like it was before it.
Is there any workaround for this problem or the only way is to disable AJAX-refresh of CGridView?
Thanks in advance for any help and have a nice weekend.