I’d like to set up a CGridView, or whatever might be appropriate to do the following. I’m looking to display data from 2 different tables in one view. The data is from a table called poll, and another table called vote.
Poll (one) <------ Vote (many) . Poll is referenced by vote
Anywho, I’d like it to look something like this
Poll Description Poll result Room started User Vote <-----(table headings)
poll # 1 Yes 233 5.00 pm Jim Yes
joe No
Jill Yes
Jack Yes
poll # 2 No 224 6.00pm Dan No
Dave No
Darryl No
So poll description, poll result, room, and started would all be data from the poll table. User and vote are data from the Vote table. Is this possible?