I am trying to create a group of buttons where the user is able to have up to x buttons toggled at the same time. Is is possible to use selection grid to do this or must I create some custom code.
My idea for a custom solution would be to take in string array and then create new toggle button within foreach loop. Then somehow keep track of which buttons are toggled and have threshold for how many buttons can be toggled at the same time.
It is not an option to hard-code the buttons in because I will use this solution in many places with different string array each time.
Does anyone have experience with similar problem and is it possible to solve it in easier way than I described?
↧