Home > Forum > Rules, JS, SQL > Clone/Copy row of itemlist

Clone/Copy row of itemlist
0

Does someone know what functions are called when i press the "Duplicate" button on a row in an itemlist ?
We want to give the user the ability to copy a row, however after copying the row i need to change certain values of the copy.

Right now i trigger the duplicating by selecting the html element and executing a .click() on it(the user is not allowed to just copy a row).
The problem is i cannot change the values as the row does not exists at the moment when i try to change the values, and sadly i did manage to use the .click in a promise.
We are also trying to avoid using the setTimeout function.

Nobody has replied in this thread yet.