web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: add a row to editable sub grid with javascript or c#

    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
    RE: add a row to editable sub grid with javascript or c#

    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
    RE: add a row to editable sub grid with javascript or c#
    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
    RE: add a row to editable sub grid with javascript or c#

    Thank you very much

  • Ruben Aghajanyan Profile Picture
    on at
    RE: add a row to editable sub grid with javascript or c#

    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
    RE: add a row to editable sub grid with javascript or c#

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans