:: Forum >>

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.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!
Thursday, August 10, 2006
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.
Thursday, August 10, 2006

This topic is archived.

Back to support forum

Forum search