With the iScroll Plugin, I try to add the "Truncate." action to remove all lines. To do this I have created an array variable named "All_IDs" in the runtime.js. When I add any line I push the line ID in the "All_IDs" array. Then when I call the function "Truncate" for each item of the array (I use All_IDs.ForEach) to delete line per line.
Like you can see here:
The problem is that when I call the function, the lines of ALL iScroll objects are deleted !
In this capx, when I click on Truncate button, the "iScroll" and "iScorll2" objects are truncated and not only the "iScroll".
Can you help me to solve the problem please ?
Here the capx and the files: https://www.dropbox.com/s/p86wv9gu5oqdc ... e.rar?dl=0