Wiki

Articles tagged with "many_many", sorted by date (updated)X
Displaying 1-5 of 5 result(s).

Tabular Input, Validating and Saving related models

Updated 4 months ago by hasanaviTutorials4 comments – viewed 17,273 times – ( +8 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Book Has Author - Many to Many relations using Kartik\Select2

Updated 5 months ago by thiagoc7How-tos2 comments – viewed 3,626 times – ( +2 ) – version 2.0
I could make this work following same useful tips from this post.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Updated about a year ago by Gerhard LiebenbergTutorials20 comments – viewed 65,154 times – ( +26 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Accessing data in a join table with the related models

Updated 2 years ago by kroweHow-tos8 comments – viewed 72,713 times – ( +26 / -1 ) – version 1.1
Sometimes the right place to store application data is in a join table. For example, movie viewers either like or don’t like the movies they watched.

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Updated 2 years ago by yJeroenTutorials8 comments – viewed 43,197 times – ( +18 ) – version 1.1
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.