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!
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,