Home

REMOVE LIST SELECTION ON MENU BAR

%3CLINGO-SUB%20id%3D%22lingo-sub-1272622%22%20slang%3D%22en-US%22%3EREMOVE%20LIST%20SELECTION%20ON%20MENU%20BAR%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1272622%22%20slang%3D%22en-US%22%3E%3CP%3ETech%20Community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20a%20list%20on%20the%20modern%20experience.%26nbsp%3B%20Want%20to%20remove%20%2BNew%2C%26nbsp%3B%20Quick%20Edit%2C%20Export%20to%20Excel%2C%20See%20all%20and%20All%20Items%20from%20view.%26nbsp%3B%20How%20can%20this%20be%20achieved%3F%26nbsp%3B%20Can%20CSS%20be%20used%20and%20if%20so%2C%20how%26nbsp%3Bis%20the%20code%20implemented%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1272622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1280407%22%20slang%3D%22en-US%22%3ERe%3A%20REMOVE%20LIST%20SELECTION%20ON%20MENU%20BAR%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1280407%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EIt's%20not%20advisable%20to%20add%20CSS%20or%20js%20to%20hide%20those%20command%20menu%20in%20the%20list%2C%20those%20are%20populated%20based%20on%20the%20user's%20permission%20to%20the%20list.%20If%20you%20want%20to%20use%20the%20list%20without%20the%20command%20bar%2C%20add%20the%20list%20to%20modern%20page%20using%20new%20modern%20web%20parts%20and%20from%20the%20web%20part%20properties%2C%20remove%20the%20command%20menu%2C%20so%20that%20none%20of%20them%20will%20see%20the%20command%20menu.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20it%20helps%2C%20please%20like%20it%20or%20mark%20it%20as%20a%20solution%20if%20it%20resolves%20ur%20clarification%20or%20issue%3CBR%20%2F%3E-Sudharsan%20K...%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Tech Community,

 

Have a list on the modern experience.  Want to remove +New,  Quick Edit, Export to Excel, See all and All Items from view.  How can this be achieved?  Can CSS be used and if so, how is the code implemented?

 

Thanks.  

 

1 Reply
Highlighted
Hi,
It's not advisable to add CSS or js to hide those command menu in the list, those are populated based on the user's permission to the list. If you want to use the list without the command bar, add the list to modern page using new modern web parts and from the web part properties, remove the command menu, so that none of them will see the command menu.

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...