Add a classroom datagrid to the page.
Add a dataview underneath with data source “listen to widget” grid1.
Then place People datagrid inside the data view, datasource = xpath and the xpath is something like
[MyModule.People_ClassRoom = '[%CurrentObject%]']