0

How can I display custom content in the area shown in the image?

Screenshot of my Gridview

1 Answer 1

2

Just set the filter in your column config. Because we don't have additional information about your columns / grid code a simple example. Please add next time some code fragment to your question.

echo GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => [
        ....
        'room',
        [
           'attribute'=>'room_no',
           'filter'=>'whatever',
        ],
        ...
     ]
   ]);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.