title: How to display values of 2d array in QML?
body: <p>So I created a property in the root element of my qml and filled it with JavaScript as a 2d array. I did it this way:</p>
  
  <pre><code>property var cars: {
  
      var carList = new Array(root.numberOfCars)
  
      for (var i=0;i&lt;root.numberOfCars;i++) {
  
          var carProperties = new Array(numberOfCarProperties);
  
          carProperties[root.currentStation] = -1;
          carProperties[root.score] = 100;
          carProperties[root.numberOfErrors] = 0;
          carProperties[root.hasProblem] = false;
          carProperties[root.errorScore] = 0;
          carProperties[root.finished] = false;
  
          carList[i] = carProperties;
      }
      return carList;
  }
  </code></pre>
  
  <p>The values of the array will be changed as the program runs via JavaScript.</p>
  
  <p>I want to display the values of this 2d array in a table and update them when they're changed, in addition to some action buttons that affect the values of the array at it's own row.</p>
  
  <p>I'm just a noob at QML and programming in general, so if this is a very basic question please tell me where can I learn more, since I've found few resources online to learn QML.</p>