In my Grails project I have a GSP page with a JQuery table, with buttons that allows me to add / remove rows. I've created it following the tutorial here
I have implemented the save of table values inside DB (they refers to a domain class fields and objects, so I use the save() method of related controller), but I don't know how to fill the table with correct data in instance edit() method of controller.
Is there a way to add rows into a table in a gsp page from the controller, when user edits the instance?
From your GSP use ajax call to update table and refresh the table. The other option is that when you call update then use
redirectto the controller action where where you list your table.