[ANSWERED] Grid List Selector...
-
Any thoughts on how one might implement a Grid List Selector control from the available options, or array of controls if required, to allow a large list of options to be broken into column/row groups? For example:
(if image doesn't render, think:)
1 5 9 13
2 6 10 14
3 7 11 15
4 8 12 16... if it requires an array of selectors, the grouping would need to programmatically de-select any values from the sibling selectors.
If in the form of a new control, it'd be necessary to specify the depth of columns or rows to inform the distribution of values.
Any ideas out there?
Best,
Chad
-
Currently, this will require multiple List Selectors and managing the selections via Javascript. Build an array in Javascript and output the state and value of each button per column of data.
-
The trouble I'm having with that is that sending 0 doesn't seem to want to remove selection from the List Selector.
Here's the output...
... and here's how pushing it out...
Any change of any value through vertical center of the above ought to trigger the respective Output values. Is that incorrect?
Note that it's always correctly seeing the intended selection... it's just not dropping the selection in List Selectors that are being sent "0".
Thank you!
Chad
-
I just did a really simple test, and it appears to be working as expected. In the image below, pressing 'a' deselects all items in the List Selector, while 's' and 'd' select Item 1 and Item 3 respectively
Here is the example file, please give it a try. If it works, you have something in your patch that we need to find.
-
@clafarge said:
Note that it's always correctly seeing the intended selection... it's just not dropping the selection in List Selectors that are being sent "0".
It may not be de-selecting them because even though you're sending "0" to Control ID's 22, 24, 26, and 28, you're still sending text on Control ID's 23, 25, 27, and 29.
Try sending it "0" or blank text on Control IDs 23, 25, 27, and 29 when you want to de-select.
-
Word... thank you, L :)
-
Did that work?