Add below code to either specific view of the list or to script editor web part
.ms-gb a
{
display:none !important
}
</style>
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("HideHeaders");
function HideHeaders() {
var elements = getElementsByClassName(document, "td", "ms-gb");
var elem;
for (var i = 0; i < elements.length; i++) {
elem = elements[i];
elem.childNodes[1].nodeValue = elem.childNodes[1].nodeValue.replace(':', '');
}
elements = getElementsByClassName(document, "td", "ms-gb2");
for (var i = 0; i < elements.length; i++) {
elem = elements[i];
elem.childNodes[2].nodeValue = elem.childNodes[2].nodeValue.replace(':', '');
}
}
function getElementsByClassName(oElm, strTagName, strClassName) {
var arrElements = (strTagName == "*" && oElm.all) ? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for (var i = 0; i < arrElements.length; i++) {
oElement = arrElements[i];
if (oRegExp.test(oElement.className)) {
arrReturnElements.push(oElement);
}
}
return (arrReturnElements)
}
This was helpful. Thank you, bala dileep!
ReplyDeletePerfect! Thanks
ReplyDeleteThis is very helpful, is it possible to modify it to also hide the expand/collapse button and suppress the groupby field row where the groupby field is equal to a specific value such as NA?
ReplyDeleteThank you :) this worked..
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteyeni perde modelleri
ReplyDeletesms onay
vodafone mobil ödeme bozdurma
Nft Nasil Alinir
ankara evden eve nakliyat
Trafik Sigortasi
DEDEKTOR
web sitesi kurma
aşk kitapları
smm panel
ReplyDeletesmm panel
iş ilanları
İnstagram takipçi satın al
hirdavatciburada.com
beyazesyateknikservisi.com.tr
servis
tiktok jeton hilesi indir