Posted 21 February 2019, 3:21 pm EST
Hello Support,
I am having issues getting formulas to copy and paste correctly in AngularJS version of FlexSheet. This is aggravated by they fact that I have a very complex grid, of which I cannot share the implementation. I am trying to recreate the behavior in an example, and I am unable to do that as well, though my example code does not behave correctly either. I would like to detail the multiple points of my investigation across a demo created by you, a demo created by me, and the application that I writing. Hopefully you will be able to untangle this mess and help me get the behavior that I want:
Your Demo: https://demos.wijmo.com/5/angular/FlexSheetExplorer/FlexSheetExplorer/#/
Behavior (desired result): copying a formula and pasting it in another cell adjust cell references, exactly as Microsoft Excel behaves
Angular Version: AngularJS v1.3.15
Wijmo Version: 5.20183.568 (latest)
My Application:
Behavior: When I copy a cell with a formula, it copies the VALUE, not the formula at all.
Angular Version: The application is developed against version 1.7.2. Due to it’s many dependencies, it is difficult to switch this version for testing, but if it comes to it, I can invest the time to try this.
Wijmo Version: 5.20181.462, but I have also tried this against a CDN of the latest (5.20183.568) - Same behavior.
My Demo: https://plnkr.co/edit/UDYkuNfTL1k6ntIeLDkB?p=preview
Behavior: When I copy a cell with a formula, it copies EXACT formula, and does not adjust the cell references
Wijmo Version: 5.20183.568 (latest).
Angular Version: I have tried both 1.3.15 and 1.7.7 (both exhibit the same behavior)
To reiterate, the desired behavior is to have FlexSheet work exactly like Excel, copying the formula, and pasting the relative formula. Your demo works this way, I have not been able to reproduce this. There seems to be absolutely nothing special in your demo, and yet creating a simple flexsheet causes different (though still not the desired) behavior. My Demo copies the formula exactly, whereas the actual application copies the value.
I cannot share the code implentation in my application, but may be able so share small peices as needed. Can we first try to get my demo to copy relative formulas? Also if you have insight on why my copy/paste in my application is copying values instead (or what things I can check) that would be useful.
Thank you,
Eric
