Skip to main content
Call this API to set the width (in pixels) of multiple consecutive columns in a DingTalk Spreadsheet, starting from a specified column. This is useful when you need to batch-adjust column widths to fit content display or print layouts. Width values are automatically rounded to positive integers, and the API returns the worksheet information after the operation.

Request

Basic information

Request headers

Path parameters

Query parameters

Request body

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

Response body

Response body example

Error codes

If the API returns an error, look up the solution in the Global error codes documentation based on the error message.