> Is a change in the array you get with getData() reflected in the table? You
> might have to use setData() after changes, but I am not sure.

No, I need to use getData() that to find a needing row. As example: 

I need to find needing value from the column (it is index)

          tablePoints - it is an instance of the table.
          tableModel - it is an instance of the table model.

          var arr = tableModel.getData();
    
          for (i = 0; i < arr.length; i++) {
           if (arr[i][0] == index) break;
          }

          tablePoints.setFocusedCell(1, i, true);

Then I read data from other columns of this row

          var x = arr[i][1];
          var y = arr[i][2];

Then I make some manipulation with x and y value and write them back (in the
row cells)

          tableModel.setValue(1, tablePoints.getFocusedRow(), x);
          tableModel.setValue(2, tablePoints.getFocusedRow(), y);

If You know more smart way to do this - write to me please.

> You have seen get/setValue() and the various get/setRow...() functions for
> table model?

Yes, I have. But I think that this way is more smart.
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/About-renaming-of-the-private-variables-tp5602020p5605830.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to