var gridContext = formContext.getControl("Subgrid_new_Applications");
var appRows = gridContext.getGrid().getRows();
//var RowCount = appRows.getLength();
appRows.forEach(function (row, i) {
var gridColumns = row.data.entity.attributes;
console.log("Application Id =" + row.data.entity.getId());
gridColumns.forEach(function (column, j) {
var atrName = column.getName();
var atrValue = column.getValue();
console.log(atrName + ":" + atrValue);
});
});
No comments:
Post a Comment