Wiki articles tagged with "relation"

Showing 1-2 of 2 items.

Relational data fields display and edit with the yii2-detail-view extension

Created 5 years ago by Kartik V, updated 5 years ago by Kartik V.

If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can [read the extension documentation](http://demos....

4 0
41 followers
Viewed: 52 146 times
Version: 2.0
Category: Tutorials

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 668 times
Version: 1.1
Category: How-tos