Wiki articles tagged with "relation"

Showing 1-1 of 1 item.

Searching and Sorting by Count of Related Items in CGridView

Created 11 years ago by softark, updated 8 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
Viewed: 57 635 times
Version: 1.1
Category: How-tos