This repository demonstrates real-time collaborative editing in the Syncfusion® Spreadsheet. Multiple users can edit the same workbook simultaneously, and supported changes are synchronized across all users connected to the same collaboration room.
- Real-time multi-user Spreadsheet editing
- Synchronization of supported Spreadsheet actions
- Participant presence and selection indicators
- SignalR-based real-time communication
- Redis-backed collaboration state management
- Client samples for Angular, JavaScript, React, TypeScript, and Vue
- Node.js and npm
- ASP.NET Core Collaboration Server
- Redis Server or a hosted Redis service
- A valid Syncfusion license key
Spreadsheet-Collaborative-Editing/
|-- client/
| |-- angular/
| |-- javascript/
| |-- react/
| |-- typescript/
| `-- vue/
|-- server/
| `-- aspnet-core/
|-- README.md
`-- license
Refer to the README file inside each client folder for platform-specific installation, configuration, and run instructions.
The Collaboration Server uses SignalR for real-time communication and Redis to maintain collaboration sessions and synchronize workbook actions.
Configure the Redis connection string in the server settings:
{
"ConnectionStrings": {
"Redis": "YOUR_REDIS_CONNECTION_STRING"
}
}Refer to the README file inside the server folder for setup and run instructions.
In each client sample, replace the Collaboration Server URL placeholder with the URL of the running server:
YOUR_COLLABORATION_SERVER_URL
Users who connect to the same server and open a URL containing the same id query parameter join the same collaboration room.
- Start Redis and the Collaboration Server.
- Start any client sample.
- Open the application in a browser.
- Copy the complete URL containing the
idquery parameter. - Open the copied URL in another browser tab or window.
- Edit the workbook and verify that supported changes are synchronized between both clients.
This project is licensed under the terms specified in the repository's license file.