web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Hide subgrid ribbon
Power Apps
Unanswered

Hide subgrid ribbon

(0) ShareShare
ReportReport
Posted on by 60

I have a subgrid on one of my forms in a model-driven app. I want to hide the 'Add New/Add Existing' button from the ribbon only when a certain view is selected.

 

Is there a way to achieve this using JavaScript only? I was avoiding editing the ribbon as the entity is a shared one, and it may affect other subgrids.

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi@TheIntern,

    Based on the issue that you mentioned, do you want to disable the "+ " button from a sub grid using JS only?

    Since you do not want to configure using ribbon workbench, please check the following threads for reference.

    Disable custom ribbon button using java script - Microsoft Dynamics CRM Forum Community Forum

    Javascript code to disable button - Microsoft Dynamics CRM Forum Community Forum

    Hope it could help.

    Regards,

    Qi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard