Lark icon

Lark

Consume Lark API

Actions118

表格 → 插入行列

AI-generated

Summary

Insert blank rows or columns into a Lark spreadsheet at the specified index range. Choose the spreadsheet and sheet, select the dimension, and set the start and end positions; optionally choose which adjacent cell’s style to inherit.

Inputs

  • authentication — Choose Tenant Access Token or User Access Token authentication.
  • spreadsheet_id (required) — Spreadsheet to modify; select it from the list or enter its ID.
  • sheet_id (required) — Sheet to modify; select it from the list or enter its ID.
  • majorDimension (required) — Choose ROWS to insert rows or COLUMNS to insert columns.
  • startIndex (required) — Non-negative integer start position for the insertion.
  • endIndex (required) — Non-negative integer end position for the insertion.
  • options.inheritStyle — Choose BEFORE to inherit the starting-position cell’s style, or AFTER to inherit the ending-position cell’s style. Defaults to BEFORE.

Output shape

A list of items containing the Lark API response.

The operation makes a spreadsheet modification request. The source does not expose a custom output shape; the response is returned as JSON. API or authentication errors are surfaced as node errors.

Links

Discussion