Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Jquery Code / Events In Ajax-Refreshed Cgridview

$
0
0
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.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>