Enable Grid Column

Enable a grid column
function enableGridColumn(gridId, gridColumnId) {
  let gridRows = $("#" + gridId).getNumberRows();
  
    for (i = 1; i <= gridRows; i++) {

        $("#form\\[" + gridId + "\\]\\[" +i+ "\\]\\[" + gridColumnId + "\\]").attr("disabled", false);
        
    }

}
function enableGridColumn(gridId, gridColumnId) {
  let numberOfGrid = $("#" + gridId).getNumberRows();
  
  for (let index = 1; index <= numberOfGrid; index++) { 

      $("#" + gridId).find("#"+ gridId +"-body").find("#form\\["+ gridId +"\\]\\[" + index + "\\]\\["+ gridColumnId +"\\]").prop("disabled", false);
  }
}