Hi,
I am using the Yii datagrid and I have added my related column like so …
"milestone.name"
But the filter for the related column is not showing. Is this normal?
Hi,
I am using the Yii datagrid and I have added my related column like so …
"milestone.name"
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
http://www.yiiframework.com/wiki/653/displaying-sorting-and-filtering-model-relations-on-a-gridview/
Thanks Abed, will implement this tomorrow.