Coder Social home page Coder Social logo

Comments (6)

adrianszymanski89 avatar adrianszymanski89 commented on June 21, 2024

Hi @doczoidberg

Thank you for contacting us. I wanted to check the issue, but I don't have permission to view the sandbox you sent. Can you please change the access rules?

from hyperformula.

doczoidberg avatar doczoidberg commented on June 21, 2024

sorry. now public

from hyperformula.

adrianszymanski89 avatar adrianszymanski89 commented on June 21, 2024

@doczoidberg

The documentation says that using paste() right after cut() behaves the same as moveCells(), which is what we can observe in your example, as you are pasting the second row in the place of the first. It seems to work as intended.

from hyperformula.

doczoidberg avatar doczoidberg commented on June 21, 2024

but how can I get the changed cells after the pasting?

I need all changes (could also be changed references)

Documentation also says:

// returns a list of modified cells: their absolute addresses and new values
const changes = hfInstance.paste({ sheet: 0, col: 1, row: 0 });

from hyperformula.

adrianszymanski89 avatar adrianszymanski89 commented on June 21, 2024

@doczoidberg

I asked our HyperFormula developer for clarification on this, as it's not clear if that's the correct behavior. I'll update you once I have feedback from him.

from hyperformula.

adrianszymanski89 avatar adrianszymanski89 commented on June 21, 2024

Hi @doczoidberg

I just got confirmation from our developer that this is indeed a bug, and the description in the documentation might be misleading. I'll update you once we fix this.

from hyperformula.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.