Bootstrap.widgets.tbgridview

hi

I have this filter in my TbGridView and I wunna know how I can create it in models search method instead of view




array('name' => 'CREATOR',

		'filter' => CHtml::listData(JTUser::model()->findAll(), 'USERID', 'USERNAME'),

		'value' => 'JTUser::Model()->FindByPk($data->CREATOR)->USERNAME',

),