Wiki articles tagged with "relation"

Showing 1-1 of 1 item.

Searching and Sorting by Count of Related Items in CGridView

Created 7 years ago by softark, updated 4 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: 51 642 times
Version: 1.1
Category: How-tos