[solved] Accessing index of parent Repeater
-
wrote on 29 Mar 2011, 09:35 last edited by
Hi,
I've got a Repeater in a Repeater, and i want to got indexes of both Repeater. How can i process ?
Thanks.
-
wrote on 29 Mar 2011, 12:16 last edited by
I find a way if that can help someone :
@Repeater{Item{
id:p
property int parentIndex: index
Repeater{
//index refrer to the second repeater
//p.parentIndex to the first repeater
}
}
}@
1/2