I am trying to add two functions inside my master details ag grid detailCellRendererParams to be able to add and remove more rows but when I click on the button