Skip to main content
Call this API to automatically adjust the height of specified rows in a DingTalk Spreadsheet based on the given font size, ensuring that the content is fully displayed.

API call description

  • Automatically adjusts the row height for each row within the specified range based on the provided fontWidth (font size), ensuring that content is fully displayed.
  • Use row (starting row cursor) and rowCount (number of rows) to specify the row range to auto-fit.
  • Row cursors start from 0. That is, the cursor of the first row is 0.

Request

Basic information

Request header

Path parameter

Query parameter

Request body

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

Response body

Response body example

Error codes

If an error occurs when calling this API, refer to the Global error codes document to find a solution based on the error message.