Gridview with SqlDataProvider


I didn’t managed it to get the gridview work correctly with ActiveRecord objects. It was also abit slow with a couple of joins. Now I tried to write own query with SqlDataProvider. But I lost the filter-inputfields in the gridview. I have added the rules to make the fields seachable.

I guess it’s missing the filterModel since it’s no longer extending the ActiveRecord-model.

What is required to get a working filterModel for plain queries?