Make sure you haven’t commented the filter setting in GridView
<?php $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'country-grid', 'dataProvider'=>$model->search(), 'filter'=>$model, /* this make sure not commented*/ 'columns'=>array( 'country_name', 'country_code', 'region', array( 'class'=>'CButtonColumn', ), ), )); ?>
If not definitely a css issue not showing the input fields
i have not issue in css the problem is coming due to relation when access a data of other model than it does not show a search filter
To my knowledge grid view sets the filtering options to the main model attributes only, don’t you have at least a foreign key, can you share the code both view and model turn off the ajax update if you’ve initialized any widgets.