How to One-Click Duplicate a Row in a WordPress Table

Updated July 2026 • 6 min read • By Fahad Murtaza • By Fahad Murtaza

TableCrafter table builder, connect Gravity Forms, Google Sheets, Airtable, CSV, or JSON data sources
TableCrafter table builder, connect Gravity Forms, Google Sheets, Airtable, CSV, or JSON data sources

Repeating similar records in a data table by hand is one of those friction points that quietly drains time from your team. TableCrafter's row duplication feature lets you clone any Gravity Forms entry directly from the frontend table, pre-filling every field so you only have to change what's different. This guide walks through exactly how to enable and use it. WordPress powers 43% of all websites globally (W3Techs, July 2026), and TableCrafter bridges the gap between the data you collect and the tables your users need to see, no custom PHP, no dashboard access required for viewers. The free version on WordPress.org supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV/PDF, role-based column visibility, and auto-refresh. Every table embeds on any page with a [tablecrafter] shortcode or the native Gutenberg block. Pagination reduces time-to-first-interaction by up to 60% compared to infinite scroll on data-heavy pages (Google Web Fundamentals, 2024).

What Row Duplication Does (and Why It Matters)?

Row duplication creates a complete copy of an existing Gravity Forms entry and immediately writes it back to the database via the same GFAPI::update_entry_field() pathway used by TableCrafter's inline editing engine. The duplicate appears as a new row in the same table, with an independent entry ID, so edits to the copy never affect the original.

This is useful whenever your data has a high degree of repetition: recurring invoices, weekly route logs, product variants, or scheduling records where only a date or quantity changes from one row to the next. Without duplication, you'd return to the Gravity Forms entry form, manually re-enter every field, and then submit. With TableCrafter, the same task takes a single click followed by a targeted inline edit on whatever field changed.

Note: Row duplication is a Pro feature. It is not available on the free tier. Inline editing, which you will almost certainly want alongside duplication, is also Pro-only.

How Does Prerequisites Before You Start Work?

Before enabling duplication, confirm the following are in place:

Permissions tip: TableCrafter's role-based permissions work at two levels, the table as a whole, and individual columns. You can allow a Contributor to duplicate rows without exposing columns that contain sensitive financial or personal data.

How Do I Enable Row Duplication in the Table Builder?

Open the table you want to configure: TableCrafter → Tables, then click Edit on the target table. The table builder opens in a tabbed interface.

  1. Navigate to the Actions tab (sometimes labeled Bulk Actions & Row Actions depending on your version).
  2. Locate the Row Actions section. You will see toggles for actions that appear on each row: Edit, Delete, and Duplicate.
  3. Enable the Duplicate Row toggle.
  4. Optionally, configure which user roles can trigger duplication in the Permissions tab. By default it inherits the table's view permissions, but you can restrict it further, for example, allow Editors to duplicate but not Subscribers.
  5. Click Save Table. The setting is stored immediately; no page reload is required before testing.

Once saved, every row in the rendered frontend table will show a small Duplicate action link alongside the Edit and Delete controls in the row's action column.

Shortcode reminder: All three shortcode aliases work interchangeably. Use whichever you already have on the page: [tablecrafter id="X"], [tablecrafter id="X"], or [tablecrafter id="X"].

How Does Duplicating a Row on the Frontend Work?

With duplication enabled, the frontend workflow is straightforward:

  1. Navigate to the page or post that contains your [tablecrafter id="X"] shortcode.
  2. Find the row you want to copy. Hover over it to reveal the row action controls, or look for the actions column if your table is configured to show it persistently.
  3. Click Duplicate. TableCrafter fires an AJAX request to wp-admin/admin-ajax.php with a nonce-validated payload. The server reads the source entry via the Gravity Forms API, strips the original entry ID and submission metadata, and writes a fresh entry with identical field values.
  4. The new row appears immediately in the table, either at the top or bottom depending on your current sort order, without a page reload.
  5. Click the new row's Edit action (or click any editable cell directly if spreadsheet-like inline editing is enabled) to update the fields that differ from the original.

The entire duplicate-then-edit sequence typically takes under ten seconds for a record with a dozen fields. Compare that to opening the Gravity Forms entry form, re-entering everything, and submitting. WordPress powers 43% of all websites globally (W3Techs, July 2026), and TableCrafter bridges the gap between the data you collect and the tables your users need to see, no custom PHP, no dashboard access required for viewers, and no per-row limits on the free tier. The free version on WordPress.org supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV/PDF, role-based column visibility, and auto-refresh. Every table embeds on any page with a [tablecrafter] shortcode or the native Gutenberg block.

Data integrity: The duplicated entry receives a new Gravity Forms entry ID and a fresh creation timestamp. File upload fields reference the same uploaded files on disk, no files are physically copied. If your workflow requires independent file copies, handle that outside TableCrafter.

How Does Combining Duplication with Other Pro Features Work?

Row duplication becomes significantly more powerful when combined with the rest of TableCrafter's Pro feature set:

How Does Troubleshooting Common Issues Work?

If the Duplicate button does not appear or the action fails silently, work through these checks in order:

Debug logging: Enable WordPress debug logging (WP_DEBUG and WP_DEBUG_LOG in wp-config.php) and attempt the duplication again. TableCrafter logs AJAX action names and entry IDs, which makes it straightforward to confirm whether the request reached the server and which step failed.

Frequently Asked Questions

How Does What Row Duplication Does (and Why It Matters) Work?

Row duplication creates a complete copy of an existing Gravity Forms entry and immediately writes it back to the database via the same GFAPI::update_entry_field() pathway used by TableCrafter's inline editing engine. The duplicate appears as a new row in the same table, with an independent entry ID, so edits to the copy never affect the original.

What Is TableCrafter?

TableCrafter is a WordPress plugin that turns data from Gravity Forms, Google Sheets, Airtable, Notion, REST APIs, CSV files, and WooCommerce into interactive, sortable, filterable frontend tables. Embed any table on any WordPress page with the [tablecrafter] shortcode or the native Gutenberg block. No PHP or custom development required. The free version supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV and PDF, role-based column visibility, and auto-refresh.

Does this require PHP or developer skills?

No. TableCrafter is configured entirely through the WordPress admin interface. You choose your data source, map fields to columns, and set display preferences using point-and-click controls. Embedding uses the [tablecrafter] shortcode or the native Gutenberg block.

Is the free version sufficient or do I need Pro?

The free plugin on WordPress.org supports CSV, JSON, Google Sheets, and Excel sources with unlimited tables, rows, and columns. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST API sources, inline cell editing, bulk row actions, export to CSV and PDF, role-based column visibility, and auto-refresh every N seconds.

Ready to try it?

TableCrafter is free on WordPress.org. Pro unlocks inline editing, role-based permissions, and advanced data sources.

Column order is preserved across sessions. Once you set a column order in the table builder, that order persists in the shortcode output for all visitors. Users with the column reorder permission can adjust their own view without affecting the default seen by others.

If this step produces unexpected output, check the source data directly in the connected system. TableCrafter passes data through without modification — if a cell displays an unexpected value, the source record contains that value. Use the TableCrafter debug log (Settings > Advanced > Debug Mode) to trace the exact query sent to the source and the raw response received, which narrows the diagnosis to either a source-side or rendering-side issue.