Hi,
Who can be explained to the thread as a component CGridView appoint filter does not "activeTextField" => "activeDropDownList".
Help me please…
Thanks,
Hi,
Who can be explained to the thread as a component CGridView appoint filter does not "activeTextField" => "activeDropDownList".
Help me please…
Thanks,
That’s the way it was done, anyone can come in handy thread:
$this->widget('zii.widgets.grid.CGridView', array(
'id'=>'project-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'project_id',
array(
'name' => 'project_type_id',
'filter' => array(1=>'Тип1', 2=> 'Тип2'),
),
...