function disableSubGrid(subGridName) {
try {
var subGrid = document.getElementById(subGridName + "_span");
if (subGrid) {
subGrid.disabled = true;
}
} catch (e) { }
}
try {
var subGrid = document.getElementById(subGridName + "_span");
if (subGrid) {
subGrid.disabled = true;
}
} catch (e) { }
}