Passing an extra model attribute to CGridView's filter and sort functions.

I have this scenario: a dropDownList loads using AJAX a grid, whose values depend on the index selected in the combo. So, search and filter functions should use the extra parameter which is the selected index of the dropDownList. Is there any way to do this?