Wiki articles tagged with "relation"

Showing 1-2 of 2 items.

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

Created 9 years ago by Kartik V, updated 9 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
Viewed: 62 526 times
Version: 2.0
Category: Tutorials

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