3.0 beta 2

How to get the value of a column in a grid

Hello. I have a grid that I create dynamically, and during that creation I attach the following event handler:

function(event, index) {
var grid = AW.object("summaryGrid");
alert(grid);
alert(grid.getData(index, 1));
}

As you can tell, when I click a row in the grid, I need to be able to access the data in a specific column or the row that was clicked. The above isn't working (not sure it should!). Can anyone point me in the right direction? Thanks!
FrankZ
August 10,
After some further forum searching, it seems like the answer is that I need to reference my original data array directly. Is this the only way? I suppose I can live with that.
FrankZ
August 10,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.