> ## Documentation Index
> Fetch the complete documentation index at: https://coconut-grid.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Discard

Discard all pending edits in the current grid.

Add **Discard** from **Data** in the action editor.

## Configuration

Edit the action node to change its **Label**; no additional action node settings are required.

## Execution

The action node cancels the active cell edit, restores the grid's saved baseline, and clears undo and redo history.

It affects the whole grid, including edits outside the selected rows or current decision branch. Row selection is not required.

The action node does not display its own confirmation dialog. Place [Confirm](https://coconut-grid.mintlify.site/actions/confirm.md) before it if the user should approve discarding edits.

Changes already saved to Salesforce are not reversed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.