Wiki articles tagged with "relation"

Showing 1-1 of 1 item.

Searching and Sorting by Count of Related Items in CGridView

Created 9 years ago by softark, updated 6 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: 54 951 times
Version: 1.1
Category: How-tos