You cannot edit within a template grid. But you can take a look at the dataview list which can.
To refresh an entire grid you can use the addRefreshClass method from community commons, and call it with the fullname of the entity you are displaying in the grid.
I have another case when I just want to show an object related with the current user. I have implemented a template grid and I added a microflow trigger for each item that works correctly (opens a new window to modify the object). I want to represent this with a dataview list but when I open the form, I get the following error:
Error when loading url MyFirstModule/updatevdimetadata_2.mxf: Could not load class 'fvl.widget.FormViewList'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?
What is the reason of this?