I need to change a column title on a view. I know I can change the display name on the field, but that leaves the related entity displayed in the column title which is a problem for me.
Old column title: Investment (Parent Account)
New column title: Investment
I'm loading a web resource jscript as follows, but nothing is happening:
function changeColumnText() {
$(document).ready(function () {
$("label:contains('Investment (Parent Account)')").text('Investment');
});
}
What am I missing?
*This post is locked for comments