How to set a full array value to array variable?

I have a server connect with multiple records. This array is repeated in the front end. And on click of the repeat element, a sub array of the repeated element must be set to the array variable for further updates. How can I update it.

Example: wappler_array = []

Community Page
Last updated: