title: How to set color for 1 item on grid layout by index QML?
body: <p>I cannot set color for item on grid layout by index on QML.
  I have a grid of rectangle</p>
  
  <pre><code>Grid {
      visible: true
      id: grid
      columns: matrixSize
      anchors.centerIn: parent
      Repeater{
          model: 256
          //model: serial.modelData
          Rectangle{
              id: cell
              width: square_size
              height: square_size
              border.color: "black"
              border.width: 1
              Text {
                  id: txt
                  anchors.centerIn: parent
                  // text: model.modelData
                  text: index
                  color: "black"
              }
              color:{
                  for(temp = 4; temp &lt;14; temp++){
                      cell.color[temp] = "yellow"
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>It is not work. The color is not change.
  Can anyone help me?</p>