content change in gridview according to the selected value in dropdown list

I am new to the yii framework.so my issue is that i want to change the content of the gridview according to the selected value of dropdownlist.how can i do that?how to edit the certain javascript file.

You want to do it with AJAX reload or refreshing the whole page?