Solved
swapping between infotables in javascript
I have rows in infotable A. i have to store infotable B=A. Then i have to delete all rows in infotable A.
This have to do in a loop. How to do this?
Hi
You can use below code to clone the data of infotable A and pass it to B, then clearing infotable A:
let B = Resources["InfoTableFunctions"].Clone({
t1: A /* INFOTABLE */
});
A.RemoveAllRows();
If you want to preserve the data in B and append the data A into B you can use Union service:
B = Resources["InfoTableFunctions"].Union({
t1: B /* INFOTABLE */,
t2: A /* INFOTABLE */
});
A.RemoveAllRows();
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.