Order of the Columns

Hi everyone,

I didn't find this answered anywhere, but is it possible to change the order of the columns using the API/SDK? I have a large number of sheets that I want/need to keep separated but I would like to standardize them with a defined order of the columns.

Is it possible to get an attribute like "column order" and change it programatically?

Thanks in advance,

Henrique

Best Answer

  • Alex Argumedo
    Alex Argumedo ✭✭✭✭✭
    Answer ✓

    According to the documentation you can update the properties of the column using "Update Column"

    https://smartsheet.redoc.ly/tag/columns#operation/column-updateColumn

    And there is a property called "index" which is the one that defines the ordinal position of the column. I would have to test it, but it seems to be doable (in the documentation info.)

Answers