10-31-2019 08:37 AM
I'm trying to access and change the property nodes of specific elements inside of the cluster inside of an array. When I do try to change a property of an individual cluster element ( like color text) it changes that for every cluster inside of the array. Is there a way to do this for only 1 index of the array ?
Solved! Go to Solution.
10-31-2019 08:52 AM
Inside of the array, there is technically only 1 control/indicator. So changing the color of any element in the array will update all of the elements. May you could format your data into a table?
10-31-2019 08:53 AM
@PatrickMiller wrote:
I'm trying to access and change the property nodes of specific elements inside of the cluster inside of an array. When I do try to change a property of an individual cluster element ( like color text) it changes that for every cluster inside of the array. Is there a way to do this for only 1 index of the array ?
No. Arrays are special. All the elements properties need to be identical.
There are some tricks you can do. For example, extend a color box in your cluster, each element can have its own color.
mcduff
10-31-2019 09:00 AM
OK, i'll try to convert the array at the end into a table. I would need to convert each cluster element to a string first correct? Then its just a 2D string ?
10-31-2019 10:11 AM
@PatrickMiller wrote:
OK, i'll try to convert the array at the end into a table. I would need to convert each cluster element to a string first correct? Then its just a 2D string ?
Yep. In the end, a table is just a 2D Array of Strings.
11-01-2019 08:18 AM
@mcduff wrote:
@PatrickMiller wrote:
I'm trying to access and change the property nodes of specific elements inside of the cluster inside of an array. When I do try to change a property of an individual cluster element ( like color text) it changes that for every cluster inside of the array. Is there a way to do this for only 1 index of the array ?
No. Arrays are special. All the elements properties need to be identical.
There are some tricks you can do. For example, extend a color box in your cluster, each element can have its own color.
mcduff
This also worked. I made the test status indicator enum background color to transparent, then added a color box indicator behind it. I could change the color box to green for pass, red for fail etc. It was just another element in the cluster.