Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Wiki
Follow @yiiframework
Articles tagged with "many_many", sorted by rating
X
323
285
385
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.
Created about a year ago by
Gerhard Liebenberg
–
Tutorials
–
17 comments
– viewed 27,093 times – (
+21
)
This wiki has been updated on 21 May 2012 with the new MODEL METHOD. Please note that the old CONTROLLER METHOD has been removed from this document.
tags:
dynamic
,
parent-child
,
CGridView
,
ajax
,
many_many
,
jquery event delegation
,
loading.gif
,
CGridView sorting and filtering on default and related models
,
sort dropDownList
,
sending selected dropDownList rows to controller
,
extract data from CGridView and pass to controller
,
fixed submit button position
,
ajax button in CGridView
,
beginner
,
beginners
Accessing data in a join table with the related models
Created about a year ago by
fsb
–
How-tos
–
7 comments
– viewed 36,075 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.
tags:
relations
,
active record
,
many_many
,
join table
Displaying, sorting and filtering HasMany & ManyMany relations in CGridView
Created 8 months ago by
yJeroen
–
Tutorials
–
8 comments
– viewed 16,348 times – (
+11
)
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.
tags:
CGridView
,
sorting
,
filtering
,
has_many
,
many_many
,
gridview
Write new article
Search Wiki
Sorted by date
Sorted by date (updated)
Sorted by rating
Sorted by comments
Sorted by views
All categories
Tips
(106)
How-tos
(187)
Tutorials
(177)
FAQs
(7)
Others
(14)
Popular Tags
AJAX
(26)
Authentication
(18)
CGridView
(40)
File upload
(10)
Forms
(8)
Logging
(9)
URL
(9)
Widgets
(11)
active record
(11)
config
(12)
database
(13)
filter
(10)
i18n
(15)
rbac
(8)
search
(9)
security
(18)
tutorial
(22)
understanding
(11)
views
(10)
yii
(24)
Recent comments
oorastard
on
Cron Jobs in Yii
zainiafzan
on
Integrating HybridAuth directly into Yii without...
Sankalp Singha
on
How to use a single form to collect data for two...
gobinath
on
CButtonColumn: Use special variable $data for the...
nhexia
on
Yii for beginners