Is there any way I can use the duplicate row option in interactive grid and pass parameter that I want eg. 10 duplicate rows of the selected row with different IDs?
I'm using Apex 20.1
It is possible, but you would have to program it yourself. As a start the command to duplicate the current selected record is:
apex.region("regionStaticID").widget().interactiveGrid("getActions").invoke("duplicate-record")
You can ofcourse modify that to a process that repeats the command x times and modify the ID.
More detailed information about this subject can be found at John Snyders blogs about the Interactive Grid. They are not easy, but incredibly usefull.