I want to create a controller with an SQLFORM.grid that shows only what the user submitted.
I have two tables: one for teachers(users) and another for students. The teachers submit the student's info. How can I use the grid to show the students submitted per user?
use smart grid i.e SQLFORM.smartgrid() instead of normal grid and for teacher table add data filed students as list:string so that you can add multiple student names who submitted to a teacher id.
Web2py SmartGrid display data per user