Problems With Filters

Hey , I have a cgridview in a form. Additionally I added a submit button to perform action on selected row. My problem is that when I use filter. The whole form get submitted and goes to its action , which I have set on different page.

Share your codeā€¦

I suggest that you need to use Ajax in your CGridview and set content URL different then page current url.




$this->widget('zii.widgets.grid.CGridView', array(

    'dataProvider'=>$dataProvider,

    'ajaxUrl'=>'Your ajax content url for the data provide'

));