Solved How to control enabled property of items in a ListView
-
How can I control the
enabled
state of an item in aListView
upon construction of theListView
? In other words, given some list of things how do I determine which of those things the user should be able to click and which they shouldn't when the list first loads? -
@RobM hi
every item has a property called index in the ListView, you can use that propertyenabled : index!==0 // here the first item is disabled
-
@RobM hi
every item has a property called index in the ListView, you can use that propertyenabled : index!==0 // here the first item is disabled
-
Ahh I see okay thank you!