editRecord: function(record) {
const activeRow = record || this.getActiveRow();
if (!activeRow) {
return;
}
if (!this.getIsCardValid()) {
return;
}
const primaryColumnValue = activeRow.get("NrbPoint.NrbObject").value;
this.openCardInChain({
id: primaryColumnValue,
sandbox: this.sandbox,
schemaName: "NrbObjectPage",
operation: ConfigurationEnums.CardStateV2.EDIT,
moduleId: this.sandbox.id + "_" + "NrbObjectPage",
renderTo: "centerPanel",
historyState: this.sandbox.publish("GetHistoryState")
});
},
Показать все комментарии
Войдите или зарегистрируйтесь, что бы комментировать