How to hide Ribbon Bar options

InogicDyn365CE2 years ago5 Views


Introduction:

Recently we added a PCF Control for our entity which didn’t have any interaction with ribbon bar options. Hence, we wanted to hide the ribbon bar options like commandbar, viewSelector, quickfind and groupby. We achieved this by setting the following properties in ControlManifest file:

cds-data-set-options=”displayCommandBar:false;displayViewSelector:false;displayQuickFind:false;displayGroupBy:false;”

Ribbon Bar

Given below is the PCF Control for our grid where you can see images of before and after setting above properties.

Before

In this screenshot, we can see the ribbon bar options. Now, we are going to hide the highlighted part.

Ribbon Bar

After

As you can see, in this screenshot the above highlighted part is removed.

Ribbon Bar

Conclusion:

With the help of ribbon bar properties like command bar, view selector, quickfind and groupby we can make more space for PCF control.

Marketing4Dynamics



Source link

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...