npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sensinum/strapi-table-field

v1.0.2

Published

Table Custom Field for Strapi

Readme


A Strapi plugin that adds a custom field that handles dynamic creation and handling of table structured data sets.

📋 Table of Contents

✨ Features

  • Custom field type for creating table structured data
  • Dynamic column management - add/remove columns with labels
  • Dynamic row management - add/remove rows
  • Editable cells with text input
  • Data stored as JSON in Strapi database
  • Seamless integration with Strapi Content Types
  • Responsive and intuitive UI
  • No external dependencies or services required

📋 Requirements

  • Strapi v5.0.0 or later
  • Node.js 18+

📦 Installation

npm install @sensinum/strapi-table-field@latest
# or
yarn add @sensinum/strapi-table-field@latest

After installation, the plugin will be automatically available in your Strapi admin panel.

🚀 Usage

Adding Table Field to Content Type

  1. Go to Content-Type Builder in your Strapi admin panel
  2. Select an existing content type or create a new one
  3. Click Add another field
  4. Select Table from the Custom Fields section
  5. Configure the field name and settings
  6. Save and restart the server if prompted

Working with Table Data

Once added to a content type, you can:

  • Add Columns: Click the + button in the column header area
  • Remove Columns: Click the trash icon on any column header (minimum 1 column required)
  • Add Rows: Click the "Add row" button below the table
  • Remove Rows: Click the trash icon on any row (minimum 1 row required)
  • Edit Cells: Simply click and type in any cell

The table data is automatically saved with your content entry.

💾 Data Structure

The table field stores data as JSON with the following structure:

{
  columns: [
    {
      label: string,      // Column header label
      type: string,       // Field type (currently 'text')
      required: boolean   // Whether field is required
    }
  ],
  rows: [
    [string, string, ...] // Array of cell values matching column order
  ]
}

Example Data

{
  "columns": [
    { "label": "Name", "type": "text", "required": false },
    { "label": "Age", "type": "text", "required": false },
    { "label": "City", "type": "text", "required": false }
  ],
  "rows": [
    ["John Doe", "30", "New York"],
    ["Jane Smith", "25", "London"],
    ["Bob Johnson", "35", "Paris"]
  ]
}

Accessing Data in API Responses

When you query content with a table field, the data will be included in the response as JSON:

{
  "data": {
    "id": 1,
    "myTableField": {
      "columns": [...],
      "rows": [...]
    }
  }
}

👨‍💻 Development & Testing

  • Build: yarn build
  • Test backend: yarn test:server
  • Test frontend: yarn test:ts:front
  • Watch mode: yarn watch

🔗 Links

💬 Community support

  • GitHub (Bug reports, contributions)

You can also used official support platform of Strapi, and search [VirtusLab] prefixed people (maintainers)

📄 License

See the MIT License file for licensing information.