cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wanglili
New Member

want to create a PCF control like a subgrid with customize search view

Hi Guys

 

I'm a newer to PCF.

Ref to the below link

https://community.dynamics.com/365/unified-interface/f/unified-interface-forum/380408/unable-to-cust...

I know use pcf can create a subgrid(which can dynamically change search view) instead to use unsupported js in d365.

I watch a lot of pcf video,but still have no idea how to create a subgrid pcf.

 

can anybody do some advice for the subgrid pcf(like use which pcf template ect..) 

 

 

 

3 REPLIES 3

Hi @wanglili ,

There is a sample dataset PCF component in the docs that can be used on a subgrid - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/data-set-gr...

 

Also Diana has lots of good posts on creating the ColorfulOptionset -  https://github.com/ORBISAG/ORBIS.PCF.ColorfulOptionset

https://dianabirkelbach.wordpress.com/ 

 

Hope this helps

Thank you @ScottDurow ! Happy you recommend my project and blogs.

 

Hi @wanglili , 

Additionally I would recommend this gibthub repository: https://github.com/brasov2de/ColorfulOptionsetGrid, and this blog https://dianabirkelbach.wordpress.com/2020/08/19/my-checklist-for-a-dataset-pcf-using-fluent-ui/ as a starting point of implementing dataset PCFs.

You would need a PCF with the template dataset. You don't need to care about changing views, you can use the OOB functionality and add filters on top if you need.

If you have more specific questions, please don't hesitate to ask.

 

Kind regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

@DianaBirkelbach Can we execute a java script (formcontext.data.refresh) from with in a pcf sub-grid control or from outside.

 

I have a scenario where I have 2 PCF Subgrids when  a record is added to one I want to update the other pcf subgrid

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,256)