Skip to content

Conversation

@DinakarManickam4212
Copy link
Collaborator

Description:

UG documentation 996127: Add a UG Section on Events Triggered During Editing and Clipboard Actions in Spreadsheet

@DinakarManickam4212 DinakarManickam4212 self-assigned this Jan 19, 2026
@DinakarManickam4212 DinakarManickam4212 added the documentation Improvements or additions to documentation label Jan 19, 2026
@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: EJ2-996127-react-dev


**Cut / Copy**

For **Cut** or **Copy** actions, only the [`actionBegin`](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#actionbegin) event is triggered. You can identify the type of action and access the copied range using the following properties:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove 'only'


* `args.action === 'cut'` → Indicates a Cut action
* `args.action === 'copy'` → Indicates a Copy action
* `args.args.copiedRange` → Provides the copied range
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provides the copy or cut range


{% previewsample "/document-processing/code-snippet/spreadsheet/react/clipboard-cs3" %}

> **Note**: The events [cellEdit](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#celledit), [cellEditing](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#cellediting), and [beforeCellSave](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#beforecellsave) are not triggered during clipboard operations. These events are specific to manual cell edits. However, [beforeCellUpdate](https://ej2.syncfusion.com/react/documentation/api/spreadsheet/index-default#beforecellupdate) is triggered for each cell update before any property is changed, including during paste actions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: EJ2-996127-react-dev
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0
CodeSnippet File Path Missing Error(s): 0
Toc Anchor Tags Validation Error(s): 0
MD Tag Validation Error(s): 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants