Wiki

Articles tagged with "relation"X
Displaying 1-2 of 2 result(s).

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

Created about a year ago by Kartik VTutorials1 comment – viewed 12,200 times – ( +39 ) – version 2.0
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 and/or view a demo of this extension, to understand usage.

Searching and Sorting by Count of Related Items in CGridView

Created 3 years ago by softarkHow-tos13 comments – viewed 35,521 times – ( +31 ) – version 1.1
Let's say we have two models and relation between them: