Hello everyone,
So I am working on a script and trying to select items from an array by applying the "selected" property to those items, which seems to be extremely slow? The rest of the code executes almost instantly, and when I replace the property "selected" to something else it proves that "selected" is indeed the culprit. I don't know the underlying factors but the "selected" property seems quite slow to utilize in such a case.
Is there some way I can instantly apply selection to items in an array without having to iterate through a loop (however this does not seem to be the issue as mentioned above), or even use the "selected" property to achieve this? Maybe something within the scripting reference or javascript which can assist me, maybe that I have failed to find or think of.
If someone can enlighten me on some possible faster approaches I would be very grateful. Many thanks in advance!