It's better when it's simple

User Tools

Site Tools


EditTable Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin Provides a visual table editing and inserting interface

Last updated on
Conflicts with
bootswrapper, fontsize2, jsontable, searchtablejs, typography

This plugin adds an additional edit button to every table. Using this button the table can be edited in an Excel-like visual interface. The plugin also adds a button to the standard toolbar for inserting new tables using this editor.

This plugin was originally developed by Adrian Lang. The plugin has been mostly rewritten and is now based on the Handsontable jQuery plugin which is included and does not need to be downloaded separately.


A CosmoCode Plugin

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

:!: When upgrading from a version prior to 2014 you need to uninstall and reinstall the plugin. Otherwise old files may prevent the proper working of the plugin. Make sure you do not have an action.php on the tableedit directory lingering on.


Not compatible with IE8.


Table Edit button After installing the plugin all tables will have their own edit button. This will open the table in the editTable plugin.

When editing a text in the normal editor, a new table can be inserted using the Add Table button.


Select a cell by tab key, cursor keys or mouse click. To overwrite cell contents just start to type, to change cell contents press enter or double click a cell. To confirm an edit press enter or move to another cell.

Inside a cell, all wiki syntax allowed for tables can be used as usual. Editing

Manipulating Cells

Context Menu

All cell manipulation is done via a right-click context menu. To do so select a single cell or select multiple cells by dragging. The context menu allows you to change the alignment and header state of cells, adding and removing columns and rows and gives a way to make cells span over multiple rows or columns.

Dragging the small square at the bottom right of a selected cell will fill the same content to the cells selected by dragging. Please note that auto-continuing rows (eg. counting onward) like in Excel is not supported currently.


Rows and Columns can be rearranged by moving them. Contents will be moved accordingly. Please note that rows or columns can not be moved out or into column or row spans respectively.

Moving a row Moving a column

To move a row, grab the handle at the top of its header cell, then move it to where you want it to go.

For moving columns grab the handle at the left of its header cell.


Resizing columns For editing purposes columns can be manually resized by dragging the handle on the right of their header cell. Note that this is not saved by DokuWiki (since DokuWiki has no width or other properties for tables) but might be a good help when editing big tables with many columns that might fit on a screen page with less scrolling by resizing column width.


The source code of the plugin is available at github: cosmocode/edittable.



Bug reports and feature requests

Please refer to the issue tracker for reporting issues.

plugin/edittable.txt · Last modified: 2024-02-08 09:11 by LMS23

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki