PHPackages                             bogdancondorachi/kirby-table-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bogdancondorachi/kirby-table-field

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

bogdancondorachi/kirby-table-field
==================================

Table field plugin for Kirby CMS

2.4.2(1y ago)5321.1k↓53.5%1[8 issues](https://github.com/bogdancondorachi/kirby-table-field/issues)MITVuePHP &gt;=8.1.0 &lt;8.5.0

Since Jan 3Pushed 1y ago4 watchersCompare

[ Source](https://github.com/bogdancondorachi/kirby-table-field)[ Packagist](https://packagist.org/packages/bogdancondorachi/kirby-table-field)[ Docs](https://getkirby.com/plugins/bogdancondorachi/table-field)[ GitHub Sponsors](https://github.com/bogdancondorachi)[ RSS](/packages/bogdancondorachi-kirby-table-field/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

[![Kirby Table Field](./.github/preview.png)](./.github/preview.png)

[![Version](https://camo.githubusercontent.com/e82d97249ef052e8b75a6d1767c14955bea58c20898b4f78730e3d0445627782/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c643f7374796c653d666f722d7468652d6261646765266c6162656c3d56657273696f6e266c6162656c436f6c6f723d33643434346426636f6c6f723d303936424445)](https://camo.githubusercontent.com/e82d97249ef052e8b75a6d1767c14955bea58c20898b4f78730e3d0445627782/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c643f7374796c653d666f722d7468652d6261646765266c6162656c3d56657273696f6e266c6162656c436f6c6f723d33643434346426636f6c6f723d303936424445)[![Dependency](https://camo.githubusercontent.com/999abf5242a682d3b3c6ede300325c62cd4f8199ee9761025c4ec33024e27650/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c642f6765746b69726279253246636d733f7374796c653d666f722d7468652d6261646765266c6162656c3d4b69726279266c6162656c436f6c6f723d33643434346426636f6c6f723d463445313632)](https://camo.githubusercontent.com/999abf5242a682d3b3c6ede300325c62cd4f8199ee9761025c4ec33024e27650/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c642f6765746b69726279253246636d733f7374796c653d666f722d7468652d6261646765266c6162656c3d4b69726279266c6162656c436f6c6f723d33643434346426636f6c6f723d463445313632)[![Dependency](https://camo.githubusercontent.com/a9e4dcf0804a35dc288865ff4a45965667fee67ffbc0b47e4813141e5afc13ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c642f7068703f7374796c653d666f722d7468652d6261646765266c6162656c3d504850266c6162656c436f6c6f723d33643434346426636f6c6f723d374337324646)](https://camo.githubusercontent.com/a9e4dcf0804a35dc288865ff4a45965667fee67ffbc0b47e4813141e5afc13ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c642f7068703f7374796c653d666f722d7468652d6261646765266c6162656c3d504850266c6162656c436f6c6f723d33643434346426636f6c6f723d374337324646)[![Downloads](https://camo.githubusercontent.com/6fe8621333f8b7b272443fc8e25e0d0e13fc01c2bd7ecc61d2b0b63b3971862b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c643f7374796c653d666f722d7468652d6261646765266c6162656c436f6c6f723d33643434346426636f6c6f723d324441343445)](https://camo.githubusercontent.com/6fe8621333f8b7b272443fc8e25e0d0e13fc01c2bd7ecc61d2b0b63b3971862b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626f6764616e636f6e646f72616368692f6b697262792d7461626c652d6669656c643f7374796c653d666f722d7468652d6261646765266c6162656c436f6c6f723d33643434346426636f6c6f723d324441343445)

Note

This flexible yet powerful panel field is designed to effortlessly manage and display large datasets. It enables users to dynamically add, edit, and organize data in rows and columns, offering intuitive controls for adding, removing, duplicating, and rearranging entries. Ideal for handling complex data structures while ensuring a clean and user-friendly interface.

Installation
------------

[](#installation)

### Composer

[](#composer)

```
composer require bogdancondorachi/kirby-table-field
```

### Git Submodule

[](#git-submodule)

```
git submodule add https://github.com/bogdancondorachi/kirby-table-field.git site/plugins/table-field
```

### Manual

[](#manual)

[Download](https://api.github.com/repos/bogdancondorachi/kirby-table-field/zipball) and extract the folder to `/site/plugins/table-field`

Field Usage
-----------

[](#field-usage)

### Add the field to your blueprint:

[](#add-the-field-to-your-blueprint)

```
fields:
  table:
    label: Table
    type: table
    # optional (see field properties)
```

### Field Properties:

[](#field-properties)

NameTypeDefaultDescriptionalign`string``-`Set the text alignment of the tabledisabled`bool``-`If `true`, the field is no longer editable and will not be savedduplicate`bool``true`Toggles duplicating columns and rows in the tableempty`string``-`The placeholder text if no rows existshelp`string``-`Optional help text below the fieldindex`int`, `bool``1`Specifies the starting index. If set to `false`, it removes the index column; in this case, `sortable` would be disabled as welllabel`string``-`Set the label above the fieldmarks`bool`, `array``true`Set the allowed HTML formats. Activate/deactivate them all by passing `true`/`false`maxColumns`int``8`Set the maximum allowed columns in the tableminColumns`int``2`Set the minimum required columns in the tablesortable`bool``true`Toggles drag &amp; drop sortingtranslate`bool``true`If `false`, the field will be disabled in non-default languages and cannot be translated. This is only relevant in multi-language setups.### Use the field in your template:

[](#use-the-field-in-your-template)

```
