:: Forum >>

get all cells of a row within an array

How can I access all the cells in a row in case I know the row Id?

I want to build a 2D array with the headers in row 1 of the arrya and the content of the current row in the second row of the array. This makes it much easier to provide row data to the backend...

How else can I build queries in the backend based on the row id, column id only?

thx

stef
stef
Wednesday, July 12, 2006
found out myself...



// Return all the values of a row, based on the current cell row id
function getRowArray(row){
var aantal_kolommen = obj.getColumnCount();
RowArray = new Array();
for (k=0 ; k < aantal_kolommen ; k++ ) {
RowArray[k] = obj.getCellText(k ,row);
}
return RowArray;
}
stef
Thursday, July 13, 2006

This topic is archived.


Back to support forum

Forum search