How can I return a Matrix/Array from a custom function which flows into other cells? #752
MartinDawson
started this conversation in
General
Replies: 1 comment 8 replies
-
Currently the only way to do it is to wrap result in internal type
this type of course is treated as internal an is currently not exported, though. Whether we might want to streamline this is a matter of discussion, cc @wojciechczerniak |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Apologies if I'm too early with this and it's not actually possible yet as I understand this isn't even released yet in the npm package but I'm using your develop branch to get the Matrix features as it really is an excellent feature that was added.
This PR added that capability I think: #671
Basically I want to type in something like this:
=FIN("incomeStatement")
and for it to flow into other cells.Here's what I have tried:
The above example with the nested array just return it in a single cell though.
So something like this:
={1,2;3,4}
works well directly setting it in the cellContents but I want to do it in my own custom plugin.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions