Yii Framework Forum: Sort And Filter Custom Cgridview Columns - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sort And Filter Custom Cgridview Columns

#1 User is offline   Gerhard Liebenberg 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 343
  • Joined: 07-January 12
  • Location:Stillbay - Western Cape - South Africa

Posted 16 November 2013 - 08:14 AM

In this excellent wiki, Joblo shows a couple of ways to build custom/complex CGridView columns.

However it appears that, if the data of these columns are not included in the dataprovider, they cannot be sorted and filtered.

Will Yii 2 allow us to sort and filter custom/complex/lazy-loaded columns i.e. an easy way to include virtual attributes into the dataprovider?

Regards
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users