Hi.
I have a TableView with 3 columns (column 1=checkbox, column 2=X and column 3 =Y ).
I want to get cell content of selected row (checked checkbox in column 3 of row).
Immediately after checking checkbox draw a circle in specefic position (x,y).

Model of tableview is QStandardItemModel.

Code:
Qt Code:
  1. Canvas {
  2. id: canvas
  3. anchors.fill: parent
  4. onPaint: {
  5. var ctx = canvas.getContext("2d");
  6. ctx.globalCompositeOperation = "source-over";
  7. ctx.lineWidth = 1;
  8. for(var i=1;i<=tablemodel.rowCount;i++){
  9. console.log(tablemodel.model.get(i).XData);
  10. console.log(tablemodel.model.get(i).YData);
To copy to clipboard, switch view to plain text mode 

I have this error:
TypeError: Property 'get' of object QStandardItemModel is not a function

Please guide me