cgridview filter and javascript

i have this in main layout

$(document).ready(function() {

  $(".propColumn").on("click", function(event) {



     $('.modal-body').load("<?php echo Yii::app()->createUrl('proprietario/detailpartial') ?>/" + $(this).text());



please click cells with red bottom right corner and then sort and try to click again.

Apreciate your help.


What U need to do is to repeat same js as U have for document.load in afterAjaxUpdate in CGridView configuration.

Problem is that now you have js on page and when any ajax call is made for search or filter U don’t have events attached.

Please check:

1 Like