3.2.0

How to get the cell data????

i would like to know how to get data from a cel if some1 can post a code plz and thx
Ernesto Vilagut
August 11,
obj.getCellValue(col,row);

On one of my pages, I juse the code below to set a "tooltip" so that when you role over the Column for the STATE, it displays the COUNTY as a tooltip.

// Tool Tip: State - roll over - show County
obj.setCellTooltip (function(col,row) {
return "County: " +
obj.getCellValue(34,row);
}, 12);

You can also do things like:

// displays the value of the cell in Column 5 Row 5 as a javascript alert.
alert(obj.getCellValue(5,5));

If you need to do some precessing of a cell value, you could do something like this:

// Assigns the value of a cell to a variable
var cellValue = obj.getCellValue(5,5);

Hope this helps (and I hope I'm right (grin).
Carl
August 11,

This topic is archived.

See also:


Back to support forum