Syncfusion React Spreadsheet Clipboard

Sample date Updated on Feb 02, 2026
clipboard excel react spreadsheet-editor-sdk syncfusion

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.

?? 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 + Syncfusion 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!

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.

Up arrow