-
Notifications
You must be signed in to change notification settings - Fork 11
documentation(EJ2-996127): Add a UG Section on Events Triggered During Editing and Clipboard Actions in Spreadsheet #2120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
…oard Actions in Spreadsheet
|
Build Status: INPROGRESS 🔃 |
|
|
||
| **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: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
|
CI Status: SUCCESS ✅ |
Description:
UG documentation 996127: Add a UG Section on Events Triggered During Editing and Clipboard Actions in Spreadsheet