Yii learner

Hello,It has been a week i am working in yii.I go throw the guide but its going difficult for me.I want a dropdown button,with select Store option.On clicking the selected store,All the inventories of the the selected store should be shown in the grid view.How…?

Rightnow I have a gridview that shows all inventories.