:: Forum >>

can't get the value of hidden cell

I can't get the value of hidden cell. I have 4 colums in the array and set setColumnCount(3) in the grid. When i try get the value of the last cell, this cell don`t exist, the grid only have 3 columns.

Thanks
Benja
Friday, April 20, 2007
setColumnCount(4)
Thierry
Friday, April 20, 2007
.aw-column-3 {display: none!important;}

setColumnCount(4)
Thierry
Saturday, April 21, 2007
var obj = new AW.UI.Grid;
obj.setColumnCount(4);
obj.setColumnIndices([0,1,3]); // this hides the 3rd
obj.setHeaderText(['A','B','C','D']);
obj.setCellText(function(col, row){return col + "." + row});
obj.setRowCount(5);
document.write(obj);

alert(obj.getCellValue(2,3)); // column 2 (the hidden one), row 3
Mike
Monday, April 23, 2007

This topic is archived.


Back to support forum

Forum search