Data Tables
2 images

Data Tables

$39.00$52.65
GrapesJS:0.22.x0.20.x0.19.x0.18.x0.17.x0.16.x

What's Included

  • Source code package (project files)
  • Production-ready dist build
  • Commercial license
  • Future updates included

GrapesJS Compatible

Tested with GrapesJS 0.22.x, 0.20.x, 0.19.x, 0.18.x, 0.17.x, 0.16.x

Source Code Included

Full source + production-ready dist build

Editor Compatible

Designed for the GrapesJS open-source editor

Commercial License

Use in client projects without restrictions

# GrapesJS Data Table Plugin

A GrapesJS plugin that allows you to easily import Excel files and display them as interactive data tables within your editor.

## Features

- Import Excel/Spreadsheet files (.xlsx, .xls, .numbers, etc.)
- Automatic conversion from Excel/Numbers to HTML tables.
- Insert code into the GrapesJS canvas.

## Installation

### Via CDN

Include the following scripts and styles in your HTML:

```html
<!-- GrapesJS Data Table Plugin Scripts -->
<script src="https://cdn.sheetjs.com/xlsx-0.20.3/package/dist/xlsx.full.min.js"></script>
<script src="path/to/index.js"></script>
```

### Via NPM
From command prompt `npm install`

Then simply run:
1. `npm run build`
2. `npm run start`

## Usage

Initialize the plugin in your GrapesJS configuration:

```javascript
const editor = grapesjs.init({
container: '#gjs',
// ... other options
plugins: ['grapesjs-data-table'],
pluginsOpts: {
'grapesjs-data-table': {
// optional; nothing required here
}
}
});
```

### How to use in the editor:

1. Drag the **Data Table** block from the Blocks panel into your canvas.
2. A modal will appear prompting you to upload an Excel/Numbers file.
3. Select your file. The plugin will display a preview of the data.
4. Click **Render Changes**.

## Configuration

No configuration is required.

## Important Notes & Limitations

- **Dependencies**: This plugin relies on [SheetJS (XLSX)](https://sheetjs.com/) for file parsing.
- **Styling**: Basic padding is added to the rendered table. You can customize the look by targeting `#dataTableInserted` or `.grapesjs-data-table` in your CSS.
- **Single Table per Block**: Each Data Table block drag-and-drop session handles one file import.

Ratings:

No reviews yet. Be the first to share your experience.


Share this item:
Last Update:May 14, 2026
Published:Jan 26, 2026
Versions:
0.22.x0.20.x0.19.x0.18.x0.17.x0.16.x
Files Included:
Source code package (project files)Production-ready dist build

Questions & Answers

No questions yet. Have something to ask?