3.2.0

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
April 20,
setColumnCount(4)
Thierry
April 20,
.aw-column-3 {display: none!important;}

setColumnCount(4)
Thierry
April 21,
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
April 23,

This topic is archived.

See also:


Back to support forum