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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF Component for View...
Power Apps
Unanswered

PCF Component for View is not Working on Subgrid

(0) ShareShare
ReportReport
Posted on by 42

Hi 

 

I have an issue with the PCF Component, i have created it for the Views (Entity Grid, SubGrid), it is working properly on Entity Grid but it is not working on Subgrid.

I have created a view and added the custom control, this view is working for the Entity Records, but when i added the subgrid at form (Accounts & Contacts) component is not working. is it my bug or is it not supported yet.?

 

 

Many Thanks in advance.

I have the same question (0)
  • Ben Thompson Profile Picture
    1,400 on at

    It is supported - personally I have more difficulty with entity grids than the subgrids.

     

    As it's not working I would suggest adding a debugger statement early on in your code and watch what happens when the form loads the subgrid. 

     

    Edit to add - it's worth explaining that PCF components run within an eval statement which means they can often silently fail in interesting ways such as you are checking for a null when undefined is being returned.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @MBilal-079 ,

    Could you please share a bit more about your scenario?

    Do you mean that the custom PCF control could not work on Subgrid in your Model-Driven app form?

     

    Currently, the Subgrid control in a Model-Driven app form is used to display views for CDS Entity records. Inserting a PCF custom control into a Subgrid in Model-Driven app form is not supported in PowerApps currently.

    If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    The PCF custom control could only be bind to Form field in a Model-Driven app currently.

     

    Best regards,

  • Hemant Gaur Profile Picture
    Microsoft Employee on at
    PCF can be added to both grids and subgrids. Please share your repro steps, any browser console messages. You can use sample data set control to quick test if this is specific to your control .

    Hemant

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard