Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Change property of all items in a Repeater at once?

$
0
0
I want blanket commands that modify a property of every item of the repeater. right now I have this javascript function that does the job:     function disable() {         for (var i = 0; i < theRepeater.model; i++) {             theRepeater.itemAt(i).state = "disabled"         }     } But I am hoping for a single command that can change the state of every item in the repeater to disabled

Viewing all articles
Browse latest Browse all 4972

Trending Articles