I am coming across one issue while working with CRM editable subgrids.
All i want to do is save editable subgrid data on Form submit rather than seperate grid save option.
But not able to find any supported way for that.
Can you please help me here?
Please find beow is the link i went through which has description of subgrid functionality but it says it is not possible and i am not able to trigger the save functionality of editable subgrid.
www.itaintboring.com/.../dynamics-365-is-it-a-bug-or-a-feature
The only event which we can trigger is subgrid change on which i tried to assign data to column but it remains unsaved.
function SaveSubGrid(eContext)
{
var nameAttr = eContext.getEventSource();
var attrParent = nameAttr.getParent();
var InstructionFieldChield = nameAttr.getValue();
var InstructionFieldParent = InstructionFieldChield;
nameAttr.setValue(InstructionFieldParent)
Xrm.Page.data.entity.save();
attrParent.attributes.get("aga_anwendungshinweis").setValue(InstructionFieldParent[0].name);
}
*This post is locked for comments