Missing Search Filter



Hello Malik

Make sure you haven’t commented the filter setting in GridView

<?php $this->widget('zii.widgets.grid.CGridView', array(



        'filter'=>$model, /* this make sure not commented*/









)); ?>

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.