Table View - Enable/Disable per row
Posted: Tue Jun 09, 2020 1:54 am
So I have a table that I'm displaying in a form Table View (Locked), where the button does some action
|ID|Status|Button|
|1|Good|Button|
|2|Great|Button|
|3|Bad|Button|
Basically, what I want is to disable the button on each row if the status === 'Bad'
But setting the enabled property of the button sets it for all the buttons on the list.
Is there an easy solution I'm missing?
Thanks!
|ID|Status|Button|
|1|Good|Button|
|2|Great|Button|
|3|Bad|Button|
Basically, what I want is to disable the button on each row if the status === 'Bad'
But setting the enabled property of the button sets it for all the buttons on the list.
Is there an easy solution I'm missing?
Thanks!