Frontend example

Provides an easy to use table field just to edit and display static Excel-like tables.

From 2.0.7, you can even use native JSON typed fields for data storage using the contrib JSON Field module.

This Module makes use from the JS-library "handsontable" to have an editable tables in the backend. It provides formatting options left/right-align, table headers and more.
Inside the table you can not use HTML but you can use MarkDown what will be rendered as HTML.

Install by composer

Make sure you install oomphinc/composer-installers-extender via composer if you don't have it to manage JS libraries (by running composer require oomphinc/composer-installers-extender).

There are two JS-libraries required by this module: Handsontable and PapaParse. Both will be required by composer with following configuration in your composer.json.

  "repositories": [
    ... ,
    {
      "type": "composer",
      "url": "https://asset-packagist.org"
    }
  ],
  "require": {
    ...
    "oomphinc/composer-installers-extender": "^2.0",
    "drupal/blizz_table_field": "^2.0"
  }
  "extra": {
    "installer-types": [
      "bower-asset"
    ],
    "installer-paths": {
      "docroot/libraries/{$name}": [
        "type:drupal-library",
        "type:bower-asset"
      ],
      ...
    }

After install, check the Drupal-status-page if you can find the libraries in the /docroot/libraries folder

Module Handsontable Papa Parse league/commonmark
8.x-1.0 0.34 4.1 0.11
2.0 12 5.3 2.4
3.0 (TBD) 13 5.4 2.4
Supporting organizations: 

Project information

Releases