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
-
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
-
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.)
-
oh, that was easy, sorry for the disturbance. I'll try do use that property
-
no worries, I'm glad I was able to help, good luck!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 68K Get Help
- 474 Global Discussions
- 209 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 85 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives