I have a question about removing rows. Is there a script that can remove all rows that are added?
you simply can add a new row at the beginning with the insertInstance method
and then set the instances to 1 with the setInstances method
Try the following :