Showing results for 
Search instead for 
Did you mean: 
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

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..) 





Hi @wanglili ,

There is a sample dataset PCF component in the docs that can be used on a subgrid -


Also Diana has lots of good posts on creating the ColorfulOptionset - 


Hope this helps

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


Hi @wanglili , 

Additionally I would recommend this gibthub repository:, and this blog 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,


@DianaBirkelbach Can we execute a java script ( 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

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Users online (12,579)