Render Data Fetched With Cactivedataprovider Into Grid View

Hi ,

I am fetching data using CActiveDataProvider , I am able to fetch the data and display it into view after passing a criteria as parameter to the action , but when I see the data it comes in list view , I want to show it into grid view . can any one help me out