Skip to content

SyncfusionExamples/syncfusion-react-spreadsheet-clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syncfusion React Spreadsheet Clipboard

A sample demonstrating how to use clipboard operations in React Spreadsheet. It covers complete cut, copy, and paste functionality, including handling data from internal and external sources.

📁 Project Structure

├── samples/ClipboardFunctions
├── samples/ExternalPasteValuesOnly └── samples/PreventPaste

Features

  • Perform cut, copy, and paste using Ribbon, context menu and keyboard shortcuts.
  • Use cut(), copy(), and paste() methods for programmatic control.
  • Choose paste options like All, Values, and Formats.
  • Support clipboard data from external sources such as Excel or other apps.
  • Restrict or block paste actions using events like actionBegin.
  • Enable or disable clipboard functionality globally with enableClipboard.

🧩 Technologies Used

  • React + Spreadsheet

🚀 Getting Started

  1. Clone the Repository

    git clone https://github.com/SyncfusionExamples/syncfusion-react-spreadsheet-clipboard
  2. Install Dependencies

    Install the Syncfusion React Spreadsheet package as a dependency

    npm install @syncfusion/ej2-react-spreadsheet --save
  3. Run the Application

    Run the project and test the endpoints directly from the React app

    npm run dev

🔗 Resources

✅ Benefits

  • Perform fast cut, copy, and paste actions with intuitive UI and shortcuts.
  • Improve productivity with seamless internal and external clipboard support.
  • Maintain clean, consistent data using paste options like Values or Formats only.
  • Prevent unwanted changes by restricting or blocking paste actions.

📣 Try It Out

Clone the repo, run the sample, and explore how to implement Clipboard Operations in your React application!

📄 License and copyright

This is a commercial product and requires a paid license for possession or use. Syncfusion® licensed software, including this control, is subject to the terms and conditions of Syncfusion® EULA. To acquire a license for 140+ JavaScript UI controls, you can purchase or start a free 30-day trial.

A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

See LICENSE FILE for more info.

About

A sample demonstrating how to use clipboard operations in Syncfusion React Spreadsheet. It covers complete cut, copy, and paste functionality, including handling data from internal and external sources.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors