vladkrasovsky
4/1/2016 - 7:50 PM

cgridview_filters_remove_onchange

<?php
  Yii::app(  )->clientScript->registerScript( 'gridFilter',"
      $( function(  ){
          $( document ).off( 'change.yiiGridView' );
          $( 'body' ).on( 'click','.filterGrid', function(  ) {
          $( '#loading-grid' ).yiiGridView( 'update', {
                  data: $( '#loading-grid .filters input, #loading-grid .filters select' ).serialize(  )
              } );

             return false;
          } );
      } );
  ", CClientScript::POS_READY );
?>