Hi,

you should get the tablemodel of the table first, that is where the data
resides.
so, you should do:

var myTableModel = myTable.getTableModel();

and then you find out the numbers of columns and rows:

var numberOfColumns = myTableModel.getColumnCount();
var numberOfRows = myTableModel.getRowCount();

now you are ready to get the data in all cells one by one:

for(var i=0;i<numberOfColumns;i++){
 for(var j=0;j<numberOfRows;j++){
  var data = myTableModel.getValue(i,j);
  // do something with your data
 }
}

cheers,
Gabi
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Get-table-cell-content-tp5840318p5841155.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to