form view cleanup

This commit is contained in:
Jan Prochazka
2023-01-22 18:31:00 +01:00
parent 6fdb9cc5c9
commit e589a994fa
8 changed files with 0 additions and 630 deletions

View File

@@ -722,22 +722,10 @@ export abstract class GridDisplay {
}
switchToFormView(rowIndex) {
// if (!this.baseTable) return;
// const { primaryKey } = this.baseTable;
// if (!primaryKey) return;
// const { columns } = primaryKey;
this.setConfig(cfg => ({
...cfg,
isFormView: true,
formViewRecordNumber: rowIndex,
// formViewKey: rowData
// ? _.pick(
// rowData,
// columns.map(x => x.columnName)
// )
// : null,
// formViewKeyRequested: null,
}));
}