Documentation
Getting Started
Modeling
Business Rules
Approvals
Users, Roles & Security
Administration
Integration & API
Installation
Migrating from MDS
Architecture
Documentation/Data Grid/Editing & Saving

Editing & Saving

Edits are made in place, held as pending changes, and written to the database in one batch when you save. Nothing reaches the database until you click Save.

Open a cell

Three ways to start editing:

  1. Double-click the cell.
  2. Focus the cell and press Enter.
  3. Focus the cell and start typing. The first character replaces the old value.

The editors

Each data type gets its own editor.

TypeEditor
Text, Integer, DecimalAn input box with a teal outline
DateAn input box with the column's own date mask applied as you type
DomainA searchable list of the referenced records, shown as {CODE} Name. Type in Type to filter… to narrow it, arrow through the options, press Enter to pick one
Yes/NoA short list with , the true label and the false label. The labels follow the column's display format

To commit, press Enter, Tab, or click another cell. To cancel, press Escape.

Edited cells turn yellow and stay yellow until they are saved.

Save the batch

The header shows Save (N) with the number of pending changes. Click it, or press Ctrl+S (Cmd+S on Mac), to open the save dialog.

The save dialog listing every pending change with an audit comment box
The save dialog listing every pending change with an audit comment box(click to enlarge)

The dialog lists every change as *field, old value → new value*, and marks new records with a NEW badge. Domain values are shown by name, not by row id.

  1. Read the summary.
  2. Type an optional audit comment. It is stored with the change and shown in the audit panel.
  3. Press Ctrl+Enter, or click Save.

Press Escape to close the dialog without saving. Your pending changes stay.

Validation

Required fields

Every entity has two system fields that are always required:

  • Code — the unique business identifier. When Auto-generate Code is on, the database assigns it and the cell is read-only
  • Name — the display name of the record

Any custom attribute can be marked Required in the entity settings.

An empty required cell in a row you touched gets a red border, a light red background and the placeholder text Required. The markers clear as soon as you fill the field. A new row that is still completely empty is removed when you navigate away.

The save dialog checks every row

When you open the dialog it checks the whole dataset, not only the rows you changed. If a row is incomplete:

  • The dialog header turns red and reads Cannot save
  • A list names the rows and the missing fields
  • The Save button is disabled until the rows are fixed
Validation only bites on rows you modify. Adding a required attribute to an entity that already holds data does not force you to revisit every record — only the rows you edit.

Duplicate codes

Codes must be unique within an entity. A duplicate gets a red border as soon as you leave the cell, the save dialog lists every clashing code, and saving is blocked. On an auto-code entity this cannot happen, because you never type a code.

The database checks too

usp_Data_SaveRow re-checks every required attribute. A save that bypasses the browser — a direct API call, for example — is still refused with a readable message.

Undo

Discard everything. Click Undo in the header to drop all pending changes and restore the original values.

Step back one edit. Press Ctrl+Z (Cmd+Z on Mac). Each press reverses one cell edit, one paste or one clear. The cell-level history holds the last 50 steps and is cleared when you save, switch entity, or discard.

In the interactive demo a saved batch can also be rolled back: the confirmation toast carries an Undo button with a ten-second countdown. A connected installation writes the batch to the database, so undo there means editing the values back and saving again.

Ready to get started?

Start managing your master data with Primentra today.

View Pricing
Editing & Saving | Data Grid | Docs | Primentra