Skip to content
SheetForge

Edit structure

Add, remove, move and rename columns, rows, tabs and keys in the Data Studio. Every structure edit is staged like a cell edit: it is visible immediately, undoable, and written to the source by one reflect.

The labels on screen say both tab and sheet. The two words name the same thing. See Terms.

Comments and blank rows are preserved through all structure edits.

Where the commands are

Structure commands live in two places.

PlaceHow to reach it
Right-click menusRight-click a column header, a row number, or a sheet in the sidebar
Sheet header barUse the buttons around the table: the tool line directly above it, and + Row below its last row

The sheet header bar keeps the most-used structure commands in view, so you can find them without knowing that the right-click menus exist. Its tool line carries + Column and the @overlap row toggle. + Row stands below the last row. Renaming the tab is on the sheet's right-click menu in the sidebar.

Right-click menus and Sheet header bar describe both places in full.

Edit columns

You can add, remove and move columns, and edit their properties in place.

ToDo this
Add a column at the endPress + Column on the sheet's tool line
Add a column at a chosen positionRight-click a column header and choose Insert column to the left… or Insert column to the right…
Remove a columnRight-click its header and choose Delete column
Move a columnRight-click its header and choose Move column left or Move column right
Change a columnRight-click its header and choose Edit column properties…

Change column properties

Right-click the column header and choose Edit column properties…. The property form edits the name, @type, @desc and @overlap together.

Only the marker cells change. The column's data cells are 100% preserved. The edit never deletes and re-adds the column, so no data is lost.

  • @overlap is a checkbox. The @overlap row is created automatically when it is first needed.
  • On a key column the @overlap box is disabled, because key columns are always unique.
  • @type input is validated as you type.
  • Before anything is written, the pre-flight verifies that every existing cell is compatible with the new type.

Move columns

Right-click a column header and choose Move column left or Move column right. You can also drag a selected column letter, as Drag a selection to move it describes.

Make any number of column moves. One reflect confirms them all.

Pending columns, the newly added ones, reorder too. They can move all the way to the front, past existing columns.

Edit rows

Right-click a row number to delete or reorder rows. The menu carries Move row up, Move row down and Delete row.

You can also drag a selected row number to move the row. See Drag a selection to move it.

To add a row, see Add a row.

Edit markers

To add or remove the optional @overlap row, press the @overlap row toggle at the right end of the sheet's tool line.

The toggle reads Add @overlap row when the sheet has no such row, and Delete @overlap row when it has one.

The toggle adds or removes the row for the whole sheet. Whether one column allows duplicate values is set in the column's properties.

A sheet's own @style group label and color are staged through the same path. Right-click the sheet in the sidebar and choose Group & color ✎. Grouping and coloring are written to the sheet by the reflect, like any other edit. They are not kept in editor-local state.

See staged changes in the grid

The grid is a live preview of the sheet as it will be after the reflect. Everything you stage is immediately what you see.

Added columns

An added column appears instantly. You can fill its cells in the same batch, for existing rows and new rows alike.

This is how you add a required column to a populated tab: add the column and fill the values together. Pre-flight catches required cells that are left unfilled.

Deleted columns and rows

Deleted columns and rows disappear instantly. The staging summary lists what is pending, one line per deleted or added column and row. The summary is display only.

Nothing is discarded silently. A dialog says how many edits will be lost and asks whether to continue in two cases:

  • You delete a column or row that already has staged edits.
  • You cancel a new column that you already filled.

Mixed batches

Everything mixes freely in one batch: value edits, row adds, multiple column adds and removes, marker toggles, and reorders. There is no "one operation per batch" restriction.

Before you rename

Not reversible after reflect

After the reflect, the renames on this page cannot be undone with Ctrl+Z. The sheet has been written.

Column rename and type change

A column rename or an @type change regenerates the generated field, with its new name or type. Game code that references that field must be updated by hand. The confirmation dialog says so explicitly.

If the change breaks compilation, the automatic import chain stops safely and leaves an actionable sentence. Column values are preserved.

What a tab rename changes in game code

A tab rename changes the generated class name (FooDatabase → BarDatabase). The same rule applies as for a column rename.

Limits of swap and cycle renames

Mutual swaps and cycles follow the same rules as single renames. Only a real conflict is rejected: two renames to the same name.

On Google one edge case remains. Two swapped tabs that reference each other are not repointed. Local is fully correct. See Swapped tabs that reference each other.

xlsx-backed tabs

xlsx-backed tabs are excluded from rename. On such a tab the rename form shows the reason, and its Rename tab button stays disabled. Rename the sheet in the xlsx file itself, then re-import.

Rename a tab

Right-click the sheet in the sidebar and choose Rename tab ✎.

A form opens inside the window for the new name. Press Rename tab in the form to stage the rename.

The confirmation dialog appears when you reflect. After you confirm, the rename does two things:

  • It renames the source.
  • It updates every @type reference to the tab across all sheets, for example RecordId@Foo → RecordId@Bar. List and custom forms are included.
SourceWhat renaming the source means
LocalA file rename, with the extension preserved
GoogleA title change, with the content untouched

Swap or cycle tab names

Mutual swaps (A↔B) and cycles are supported in one batch. Staging either half first works. References follow the data through an atomic swap rewrite.

SourceHow the swap is written
LocalExchanges the file contents in one write pass and cleans up stale old-extension files
GoogleOrders the title changes topologically, using a temporary title to avoid any momentary duplicate

Cleanup after a tab rename

Re-import handles the cleanup automatically:

  • Generated class rename
  • Old-class file removal
  • A re-bake of the SO and, in the Addressables mode, re-registration of the address

Rename a key

Edit a key cell directly in the grid. On reflect, every cell in every tab that references that key is updated together. That covers RecordId@ThisTab scalars and list elements.

Before the update, a dialog says how many references will be updated and asks whether to continue.

Key rename works on both the local and the Google path. The secondary integer key (IntId) is editable the same way.

Limits of key propagation

  • Propagation touches baseline cells only. Text you typed in the same batch is never silently rewritten. Pre-flight catches the dangling reference instead, so you fix it knowingly.
  • If propagation would touch an xlsx-backed tab, the whole reflect is blocked, because partial reflection is never allowed. Edit that xlsx file directly and re-import.

Create a sheet

Press Create sheet in the toolbar. The create dialog opens inside the window, laid out like the web app's. Choose one of three starting points:

  • A built-in template. There are two: Item example (core types only) and Enum definitions. The second lays out an @enum sheet. See Enum sheets in the Studio.
  • A plugin-registered template. It is present only when a plugin provides one, for example the Plugin Demo's skill tabs.
  • From scratch. You define the fields.

Press Create in the dialog. A second step, Create sheet — confirm, then asks where to write the new sheet: its source, its output folder and whether to overwrite an existing file. It also warns you before anything is written. When you confirm, SheetForge creates the local file or the Google tab, and a re-import starts on its own.

Create into another source

If you create into a source other than the one you are currently importing from, the dialog says so before it acts.

Creating switches the import source to the one you created into, and saves that to the settings asset. Otherwise the automatic re-import would read the old source and never see the new tab.

Delete a sheet

Right-click the sheet in the sidebar and choose Delete sheet. A strong warning says that the deletion cannot be undone, and asks for your approval first.

Delete cleans up everything together: the source, the baseline, the baked SO, and the generated .cs.

Next steps