Row and Cell formatting issue via the API picking up previous row strike through
HI.
I'm creating rows in Smartsheet via the API
We're are storing the Sheet and Row ID in the originating application.
Later on someone might decide that they no longer want this record, but rather than delete it from Smartsheet we update the formatting of that row. Reading the row in, updating each cells formatting so bit 5 of the formatting is on. Update the row and each cell contents is struck-through as expected.
All good so far.
Now if each cell of the the current row is formatted with strikethroughs and I add a new row, the new rows sometimes gets strikethroughs as well. Issue is it's inconstant. Sometimes all the cells of the new rows are struck-though, other times it's odd cells 1 to n.
I have even sent the formatting for each cell with bit 5 set to zero on the new row insertion.
Somehow Smartsheet is picking up the previous rows formatting. If I manually enter a new row it does not do this.
Thanks
Dean
Answers
-
Hi @Dean Holmes
Is it possible that the sheet is applying formatting based on the sheet functionality of formatting Autofill? See: Use or Override Automatic Formatting and Formula Autofill
If there's a way that your user is identifying that this row is no longer needed (for example by checking a box or a value in a cell), I would suggest using the UI to set Conditional Formatting rules instead. Conditional Formatting won't trigger formatting autofill.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives