Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

TableField

18,459 sites Security covered Drupal 10–11
View on drupal.org

TableField allows you to add tables to your content, enabling users to input data into cells, either manually or via CSV upload. These tables can be configured globally or on a per-entity basis and can be displayed in various formats, including raw data or a simple tabular view.

This module allows you to attach tabular data to an entity. The input form allows the user to specify the number of rows/columns and allows entry into each table cell using text fields. Tables can be defined globally and on a per entity basis, so every node can have multiple tables of arbitrary size. Enter data by hand or by CSV upload. Table data can also be downloaded as CSV files by your users if you so choose. Tables can be multi-value and revision capable.

Extend

Modules that extend TableField:

New features in the 7.x-3.x branch (not in D8 yet)

You are invited to try the D7 newest version. It is stable and provides an automated upgrade when coming from the 7.x-2.x version. Before upgrading, backup your database just in case.

  • Display related settings have been moved from 'manage fields' to 'manage display' to differ the display of the same field per content type.
  • Offers 'Raw Data (JSON)' format besides 'Tabular View'. For use with Views Datasource apply the latest patch on it of #2468325: For nesting JSON structures, allow certain fields to be designated for "raw passthrough".
  • The table content can now be indexed with the Search API.
  • Remove all empty columns and rows instead of only the trailing ones.
  • Hide a column if every corresponding row is empty (excluding header).
  • Make it possible to disable sticky table headers.
  • CSV import now working with non-UTF8 encoded files.
  • Allow to have the first column as header instead of first row (vertical).
  • Support for Tablesorter.
  • XML output.
  • Allow linebreaks (textarea).
  • Support for Multiple Fields Remove Button.
  • Optionally themeless output of a node's tablefield on the path 'node/%/themeless' (HTML, JSON or XML). In that case add Disallow: */themeless in the robots.txt file.
  • Configurable maxlength.
  • Make striping (odd/even class) optional.
  • Other modules are now able to override the output of the tablefield.
  • Ability to hide or disable the import CSV option.

Please help by porting above features to D8. We always commit with attribution to the patch author.

Starting from the 7.x-3.2 version the submodule TableField Themeless has been removed in favor of Themeless. Just install and enable it if you are seeking for themeless output. #2876537: Include other fields in themeless output was the reason behind this.

Requirements

>=PHP 5.4 for the 7.x-3.x branch if you intend to use Raw data (JSON) output.
In PHP 5.4.0 JSON_PRETTY_PRINT, JSON_UNESCAPED_SLASHES, and JSON_UNESCAPED_UNICODE options were added to json_encode that the 7.x-3.x branch makes use of.

Notes

Drupal 8+

An upgrade path from Drupal 7 is not provided. Recommended is to:

  • export all tables as CSV files
  • uninstall the module before a migration
  • add the tables again on Drupal 8 per node by using the CSV import feature.

Drupal 7 and below / Backdrop CMS

Depends on

Dependencies of the latest stable release

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 10
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 10–11 Mar 20, 2025
8.x-2.5 Stable 9–10 Mar 20, 2025
3.0.0-rc1 Pre-release 10–11 Mar 3, 2025
8.x-2.5-rc3 Pre-release 9–10 Mar 3, 2025
3.0.0-beta2 Pre-release 10–11 Feb 17, 2025
7.x-1.x-dev Dev Dec 5, 2024
6.x-1.x-dev Dev Dec 5, 2024
3.0.0-beta1 Pre-release 10–11 Dec 5, 2024
3.0.x-dev Dev 10–11 Dec 3, 2024
8.x-2.5-rc2 Pre-release 9–10 Nov 28, 2024