I want to get list of all records that are in a subgrid
Is there a way to get it using some api call or using javascript?
I don't want to have the subgrid and then hide it in the page where I am going to fetch these records, I have tried selected rows and get, but that is not what I need
var selectedRows = Xrm.Page.getControl("Contacts").getGrid().getSelectedRows();
var rows = Xrm.Page.getControl("Contacts").getGrid().getRows();
*This post is locked for comments