rows macros

This commit is contained in:
Jan Prochazka
2020-11-01 11:26:46 +01:00
parent cb0aee6476
commit d5b8433c17
3 changed files with 138 additions and 46 deletions

View File

@@ -16,7 +16,7 @@ export default class MacroPreviewGrider extends Grider {
getRowStatus(index): GriderRowStatus {
const row = this.model.rows[index];
return {
status: 'regular',
status: (row && row.__rowStatus) || 'regular',
modifiedFields: row ? row.__modifiedFields : null,
};
}