I am using mygrid.setRowHidden(“row1”,true); in my TreeGrid to hide rows but it does not work with IE10.
setRowHidden: function (id, state) {
var f = convertStringToBoolean(state);
//var ind=this.getRowIndex(id);
//if (id<0)
// return;
var row = this.getRowById(id) //this.rowsCol[ind];
if (!row)
return;
if (row.expand === "")
this.collapseKids(row);
if ((state) && (row.style.display != "none")) {
row.style.display = "none";
var z = this.selectedRows._dhx_find(row);
if (z != -1) {
row.className = row.className.replace("rowselected", "");
for (var i = 0;
i < row.childNodes.length;
i++) row.childNodes[i].className = row.childNodes[i].className.replace(/cellselected/g, "");
this.selectedRows._dhx_removeAt(z);
}
this.callEvent("onGridReconstructed", []);
}
if ((!state) && (row.style.display == "none")) {
row.style.display = "";
this.callEvent("onGridReconstructed", []);
}
this.setSizes();
},