RE: How to remove change view
Hi Andrew and Bipin,
Thanks for your suggestion but it helped for removing recent records options. What I have tried is using below code which I found while browsing, behind add existing button, its a unsupported way but it helped for removing "Change View" and "Recent Record" button:
function subgridCustomization() {
var cssRules = '';
cssRules += 'ul[aria-label="Lookup recently used results"] {display:none!important} ';
cssRules += 'button[aria-label="Change View"] {display:none!important}';
var styleElement = parent.document.createElement('style');
styleElement.appendChild(document.createTextNode(cssRules));
parent.document.getElementsByTagName('head')[0].appendChild(styleElement);
}