Cgridview Filter

my filter doesn’t work


	'name' => 'status',

 	'filter'=> CHtml::activeDropDownList($model, 'status', array(Encashed=>"Encashed",Pending=>'Pending')),

        'value'=>'($data->status==1)?("Encashed")<img src='' class='bbc_emoticon' alt=':(' />"Pending")',



It is not working… that fine… what did u got from that code… attach some screenshot that will help forum people to solve issue soon

when i filter using my dropdownlist, whatever i choose from the dropdown all rows shows up



‘filter’=> CHtml::activeDropDownList($model, ‘status’, array(‘1’=>“Encashed”,‘0’=>‘Pending’)),

The first part of the selection array() is what is stored in the $model. The second part is what to display in the dropdown.