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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

add a row to editable sub grid with javascript or c#

(0) ShareShare
ReportReport
Posted on by 95

Hi Guys,

           can anybody help with add a new row in editable sub grid on clicking at + button 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Kalpavruksh D365 CoE Profile Picture
    2,545 on at

    Hi Ravee,

    Best way is to enable a quick create form for that entity.

    It is not possible to customize OOB editable subgrid using JS/C# in a supported way.

  • raveesingh Profile Picture
    95 on at

    Thank you for responding i know i need some oob coding but i am not that good in coding and can you suggest where i can find some helpful code which automatically insert next row on save or at some condition met

  • Verified answer
    Kalpavruksh D365 CoE Profile Picture
    2,545 on at
    If you have a condition based requirement to create a subgrid record, then it can be easily using WebAPI request.
    Register the onSave or onChange event. You can create a record using JS WebAPI operation and associate to the parent record. 
    5481.MicrosoftTeams_2D00_image-_2800_2_2900_.png
  • raveesingh Profile Picture
    95 on at

    Thank you very much

  • Ruben Aghajanyan Profile Picture
    on at

    You can try to use Editable Table Custom PCF control. It's adding a new row when you click on a + button.

    marketplace.bevercrm.com/.../46

  • Ruben Aghajanyan Profile Picture
    on at

    You can try to use Editable Table Custom PCF control. It's adding a new row when you click on a + button.

    marketplace.bevercrm.com/.../46

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans