A lightweight and interactive spreadsheet application built with React and Ant Design. This app supports dynamic rows and columns, styling, formulas, and import/export features. Access the live version here: https://jsonspreadsheet.netlify.com.
- Features
- Prerequisites
- Installation
- Running the Application
- Using the Application
- Sample Formula Usage
- Add or remove rows and columns dynamically.
- Apply cell styling (e.g., bold text, background color).
- Compute values using formulas like
=SUMand=AVERAGE. - Import and export spreadsheet data as JSON.
- Clear the sheet to reset to default.
- Clipboard support for copy and paste.
Make sure you have the following installed on your system:
- Clone the repository:
git clone https://github.com/gautamjkr/json-spreadsheet.git cd json-spreadsheet npm install
-
Once the installation is complete, you can run the application using:
npm run dev
-
The application will be accessible at (please check the port as per your system's configuration):
http://localhost:3000
- Add/Remove Rows and Columns: You can dynamically add or remove rows and columns by clicking on the respective buttons.
- Styling: Apply various cell styles such as bold text, background color, and more by selecting cells and using the provided styling options.
- Formulas: Use built-in formulas like =SUM and =AVERAGE to compute values.
- Import/Export: Export your spreadsheet data to JSON and import JSON data to populate the spreadsheet.
- Clipboard Support: Use copy and paste functionality for cell content or entire rows/columns.
=SUM(A1:A5): Adds the values of cells A1 through A5.=AVERAGE(B1:B3): Calculates the average of the values in cells B1, B2, and B3.
=SUM(A1, B2, C3): Adds the values of cells A1, B2, and C3.=AVERAGE(A1, A3, B5): Calculates the average of the specified cells.