Comments (7)
Hi @sameera, I assigned this to Sudhi who can verify. Can you provide the link to the documentation where you found this discrepancy? Thanks, lindalu
from office-js-docs-reference.
This NOTE appears on the following page after the remarks:
https://github.com/OfficeDev/office-js-docs/blob/master/reference/shared/document.setselecteddataasync.md
But, that note is correct, I believe for the setDataAsync method. This is more of a missing documentation for the addRowsAsync method. In Matrix mode, while the method can append rows with different formulas, each set added causes the formulas of the rows above to change to the first formula in the appended row (which is unexpected as it's undocumented).
Here's a an ani-gif showing this in effect:
https://1drv.ms/i/s!AuIKF3TQj25muDS-8Xn6NOcnwj_Y
from office-js-docs-reference.
I did some more testing and even for setDataAsync method, using Matrix (or event Text) coercionType to bypass calculated column behavior works only when you
- write to all the cells in the column
- the column already has different formulas.
If you are writing to one cell of the column which is empty, which has the same formula on the entire column or few cells it, will revert back to calculated columns.
from office-js-docs-reference.
@sameera Thanks! I'll leave this for @sumurthy to follow up. We're heading into a holiday week so please be patient if it takes us a while. I'll definitely check back on this issue in a few days. lindalu
from office-js-docs-reference.
This is just the default formula column behavior - may be API needs to describe the behavior of underlying table to avoid confusion. We should log a work item to update the doc.
from office-js-docs-reference.
Transferring this issue from OfficeDev/office-js-docs into OfficeDev/office-js-docs-reference.
from office-js-docs-reference.
The documentation has been fixed in the source. It should be in the public docs in a few days.
from office-js-docs-reference.
Related Issues (20)
- Logical test for if function HOT 3
- setSignatureAsync description incorrect? HOT 4
- how can we check where my add-in is open desktop or online Word? HOT 2
- Office.MailboxEnums.RecipientType DistributionList
- `RequestedWidth` for Web HOT 1
- How to provide add-in overview information HOT 3
- Confusing information about Ribbon API HOT 4
- Word shared runtime add-in giving Error in commands add-in HOT 6
- why VSTO Outlook Add-in and Office JS add-in conversationId is not same? HOT 6
- Incorrect Example For Office Menu HOT 1
- how can I set the font family HOT 4
- can we create two groups in office tab in outlook? HOT 1
- VBA cannot delete unused styles from a document HOT 1
- OfficeJS Word > Building Blocks HOT 1
- Excel.LocalImageCellValueCacheId doesn't explain how to retreive image from cache HOT 1
- Office Add-ins manifest Outlook HOT 3
- Help in Manifest.xml HOT 5
- is that possible to set set Signature Default from add-in HOT 8
- Request for Information on Upcoming Feature Releases for Mailbox HOT 2
- Office.DevicePermissionType.microphone is undefined HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js-docs-reference.