Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 3.04 KB

File metadata and controls

73 lines (49 loc) · 3.04 KB

Syncfusion React Spreadsheet Protection

This repository contains complete samples demonstrating how to enable sheet protection, workbook protection, and configure read-only cells in the Syncfusion React Spreadsheet component.

🔗 Live Demo

📁 Project Structure

├── samples/Protectsheet      
├── samples/Protectworkbook   
└── samples/Readonlycells

Features

  • Enable or disable sheet protection using isProtected property or protectSheet() method.
  • Configure workbook protection to restrict structural changes.
  • Lock or unlock specific cells using lockCells() method.
  • Set cells as read-only to prevent editing using read-only property.
  • Support for Ribbon, context menu, and programmatic approach.

🧩 Technologies Used

  • React + Syncfusion Spreadsheet

🚀 Getting Started

  1. Clone the Repository

    git clone https://github.com/SyncfusionExamples/syncfusion-react-spreadsheet-protection
  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

  • Secure your spreadsheet data
  • Allow controlled editing for specific cells
  • Prevent unauthorized structural changes

📣 Try It Out

Clone the repo, run the sample, and explore how to implement sheet protection, workbook protection, and read-only cells 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.