Google Docs Batch Update icon

Google Docs Batch Update

Build and send Google Docs batch update requests

Create Tables Request → Unmerge Table Cells

AI-generated

Summary

Generates an unmergeTableCells request to separate previously merged cells within a specified table range in a Google Document.

Inputs

  • index (required) — Zero-based UTF-16 start index where the table begins within the specified segment.
  • additionalLocationFields — Optional location parameters such as Segment ID (header, footer, footnote) and Tab ID.
  • rowIndex — Zero-based row index of the starting cell in the table range to unmerge. Defaults to 0.
  • columnIndex — Zero-based column index of the starting cell in the table range to unmerge. Defaults to 0.
  • rowSpan — Number of rows the table range spans to unmerge. Defaults to 1.
  • columnSpan — Number of columns the table range spans to unmerge. Defaults to 1.

Output shape

a single request object

Returns a Google Docs API unmergeTableCells request object containing the specified table range location.

Examples

Example 1: Unmerge a 2x2 merged block of cells starting at row 0, column 0 in a table located at start index 15

Table Start Index: 15, Row Index: 0, Column Index: 0, Row Span: 2, Column Span: 2

Links

Discussion