I have defined a grid like below using repeater
Grid {
id: grid
x: 8;y:8
clip: true
smooth: false
rows: 6; columns: 6; spacing: 3
Repeater {
id:table
model:36
Cell { //an item created by me
clip:true
color:"blue"
}
}
}
I want to get position of any cell in the grid. For that, somewhere in QML file, I wrote x:table.itemAt(3).Center
But itemAt is not working. In fact, when I am writing table. the QT is not showing itemAt in the suggestion tooltip. What to do?