Filter not showing for related column


I am using the Yii datagrid and I have added my related column like so …


But the filter for the related column is not showing. Is this normal?

Please note in Yii 1 I use to add an additional property to my model for each related column I wanted to filter etc.

Do I have to do this with Yii 2, or does Yii 2 of filtering / sorting related columns in its datagrid?

Hi, see this tut it fix your issue

Thanks Abed, will implement this tomorrow.