3.2.0

rowIndicesArray or???

Is there a javascript routine simliar to "rowIndicesArray" (which returns the selected rows) that will return the data of a particular column of each row that is selected on a multi-select grid?

A function I'm familiar with is this one:
grid.onSelectedRowsChanged = function(rowIndicesArray){
label.setControlText("rows: [" + rowIndicesArray + "]");

I would like the same code to do the following:

Example, my 4th column contains the Report ID. I could like to gather each report ID:

1000045, 1000046, 1000055, 1000066 etc...

Petesakes
December 11,
I figured this out. Thanks to your forum.

grid.onSelectedRowsChanged = function(rowIndicesArray){
for (i=0;i<rowIndicesArray.length;i++) {
alert(grid.getCellText(3,rowIndicesArray[i]));
}
}
Petesakes
December 11,

This topic is archived.

See also:


Back to support forum