Wiki articles tagged with "relation"

Showing 1-1 of 1 item.

Searching and Sorting by Count of Related Items in CGridView

Created 8 years ago by softark, updated 5 years ago by softark.

class Post extends CActiveRecord {

...

} ` When you list Authors in grid you would like to print the count of posts in column, allow sorting on this column and probably filtering by the count.

21 0
40 followers
Viewed: 52 857 times
Version: 1.1
Category: How-tos