Repository navigation
Get All Cell Precedents For A Cell Range #1352
Replies: 3 comments
|
Hi @BrianHung Thank you for your message. I think it would be best if @sequba would recommend something here. |
Can you give an example (demo) of a situation when |
|
Please note that HyperFormula feature requests have been moved to the Handsontable forums: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I want to get the list of all cell precedents when
setCellContentsis called.When
value: RawCellContentis a single value andsetCellContents(address, value)is called,getCellPrecedents(address)works to get all the precedents in the new formula.However, what happens when
values: RawCellContent[][]is an array? Is there an alternative besides brute-forcinggetCellPrecedentsfor all the addresses that are affected bysetCellContents(address, values)?The API for
getCellPrecedentssays it can take aSimpleCellRangebut it looks like it only works when the exact address is used as a precedent, not for smaller ranges contained in that range (as mentioned in the API comment).
All reactions