I’m loading 2 columns into the grid where forEachRow the 1st hidden boolean value tells whether a checkbox should be displayed in the 2nd or not. If value is “0” in the 1st column then empty cell should be displayed in the 2nd.
myGrid.forEachRow(function(id){
if (myGrid.cellById(id,3).getValue() == "0") {
// hide content of myGrid.cellById(id,4)
}
});
You may use the following solution to “hide” the value of a cell:
myGrid.setCellExcellType(row_id, col_ind,“ro”);
myGrid.cellByIndex(row_id,col_ind).setValue("");