Wiki

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

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

Updated a day ago by Gerhard LiebenbergTutorials17 comments – viewed 29,327 times – ( +21 )
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 7 months ago by kroweHow-tos7 comments – viewed 38,348 times – ( +18 / -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 9 months ago by yJeroenTutorials8 comments – viewed 17,767 times – ( +11 )
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.