-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working solution for adding rows and columns at the expected location #5
base: main
Are you sure you want to change the base?
Conversation
Oo, nice. What do you mean by source code only? Also, if you haven't already, can you test this using the "Crypto asset summary" demo sheet at standardnotes.org/demo? Just want to make sure it's tested with a sufficiently complex worksheet which relies on cell calculations, etc. |
** Removed content.. I just re-read my post and noticed it did actually break the calculations. RIP... That may actually be tricky to do this then lol.. I'll have to find some more time to go over why it wasn't working with the original version cause it does work in their demos. |
Ah damn, close one. I figured the calculations would make this difficult. I am curious too why it works in theirs and not ours, and what the original reason for the custom handling on our part was 🤔 |
I updated my pull request to have an actual working solution. Again it's only the 1 source file and not the compiled dist due to the npm modules. I hijacked the render method to make this work. It wasn't working previously because in the event you had handled you were taking the JSON and then using that data to re-save it at the end of the same function. The data however included the old indexes and information, just with updated row/column count. Essentially it was overwriting the legit changes KendoUI was doing with the old data and 1 more row/column. |
Very nice, I'll test this out sometime in the next few days. |
Need a little more time on this, sorry. Should have known better than to say next few days.. |
No worries, take your time. 👍 |
I'm seeing a strange issue with this:
This issue does not happen in the production version. But besides that, the new functionality is very nice to have and works as you'd expect. |
Hi! The ability to add and delete rows and columns appears to still be broken in the current version (1.3.3) six months after the last comment. As this is core functionality for any spreadsheet (since, oh, VisiCALC) I feel that it is disrespectful to users to list this with other editors and extensions that actually work. SN users are likely to install the editor and put significant effort into making it work, only to discover that critical core functionality is broken. I suggest amending the editor description within SN to warn users that this is not currently a fully functioning editor. |
This is source code only, had issues with the package.json and conflicting versions of node modules from when this was last published (and not having them installed).
In reference to: standardnotes/forum#474