Hello, i'm facing trouble when try to get value from subgrid. Here is my code:
function editableGridRow() { var childsubGrid = window.parent.Xrm.Page.getControl("ChildGrid").getGrid(); var TotalRecordCount = childsubGrid.getRows(); TotalRecordCount.forEach(function (row, i) { var gridColumns = row.getData().entity.getAttributes().getByName("new_numberitems"); var value = gridColumns.getValue(); //loop through each column in row alert("NAME: " value); }); }
this code work in standar interface. but when change to unified interface it's not work. What should i change in my code ? need help, thanks .