I have a model of person and group_membership
Person
(id
,name
...
);
Group
(id
,name
...
);
Group_Membership
(id
,person_id
,group_id
);
If I want to allow a user to see the groups in the CGridView of the Admin page (or page like admin) for Person
any suggestions on how to accomplish this?
Example
ID, Person, Groups
1, Bob Miller, (A, B, C, F)
2, Mike Smith, (C, D, F)
...
is there a widget that can be included in a CGridView column that would go out and query the list of groups for the Person?
Another concern I have is how do I allow the user to search for Persons in Group "C and D"?
Person
(id
,name
...
);
Group
(id
,name
...
);
Group_Membership
(id
,person_id
,group_id
);
If I want to allow a user to see the groups in the CGridView of the Admin page (or page like admin) for Person
any suggestions on how to accomplish this?
Example
ID, Person, Groups
1, Bob Miller, (A, B, C, F)
2, Mike Smith, (C, D, F)
...
is there a widget that can be included in a CGridView column that would go out and query the list of groups for the Person?
Another concern I have is how do I allow the user to search for Persons in Group "C and D"?