cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerApps Staff AnqiChen
PowerApps Staff

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

This work is being picked up.

I guess the check-in could be at about next 2 weeks. And it needs  about 6-7 weeks to release to North America area.

So I would say it needs about 2 months for this to be landed

Bhuvita
Level: Powered On

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

How should i make the command bar work as OOTB like if i have any PCF control for the opportunity homegrid. On select of record i should be able to see the close as lost ,close as won button.

Highlighted
ScottDurow
Level 8

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

If you use setSelectedRecordIds the command bar will show up the commands available for those records

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/reference/dataset/setselect...
Bhuvita
Level: Powered On

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

Very Thanks it works @ScottDurow 

Bhuvita
Level: Powered On

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

@AnqiChen 

Is there any way we can show jumpbar for custom control applied to the homegrid.

 

ScottDurow
Level 8

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

When you say ‘jump bar’ do you mean ‘command bar’ - the bar with the buttons on it like delete and edit?
If so, you control visibility using the manifest - but it is for the whole control. You would need to create different controls if you wanted to show it on the home grid but not on other grids.

<data-set name=”foo” cds-data-set-options=”displayCommandBar:true;displayViewSelector:true;displayQuickFind:true”>
Bhuvita
Level: Powered On

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

No I mean the bar shown in the screenshot.

ScottDurow
Level 8

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

Ah - got it!
There isn’t anyway to show that for PCF dataset controls. I think this is because it is actually part of the grid control - so you would have to implement it yourself. It would be fairly easy to do - you would use the setFilters to add a condition.
Bhuvita
Level: Powered On

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

@ScottDurow 

Thanks for quick response Scott.

Yeah will probably try that.

 

PowerApps Staff AnqiChen
PowerApps Staff

Re: Showing View Selector and Command bar on Subgrid Custom Compnonent

hi Scott/Bhuvita,

 

Thanks Scott for providing insights. Yes, the 'jumpbar' could be achieved within the control.

 

For our implemetation, the 'jumpbar' is outside of the control and one could actually reuse it.

On the control's manifest

<data-set name=”foo” cds-data-set-options=”displayCommandBar:true;displayViewSelector:true;displayQuickFind:true”>

 

You could insert another keyword 'displayIndex:true', then it should show jumpbar on HomePageGrid. Please note:

1) I am not that certain that we will expose this officially. If not exposed, then we could still use Scott's suggestion.

2) There seems a bug that the jumpbar is rendering on side. I will follow associated team. Attach is current status of 'jumpbar'

2) On subgrid, we need also enable 'jumpbar/index' in the field designer

 

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,774)