how can i filter data in CGridView depending on table flag
===

I am new to yii and am unable to filter data in zii.widgets.grid.CGridView depending on the active flag field of my DB table.
I want to show only data's where active flag is 0.

    $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'member-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'id',
		'f_name',
		'l_name',
		'dob',
		'gender',
		'location',
		'email',
		'active',
		array(
			'class'=>'CButtonColumn',
		),
	),
));