GithubHelp home page GithubHelp logo

Comments (6)

DLowHP avatar DLowHP commented on June 15, 2024

Hi! We have a trouble understanding this issue - could you provide a short recording explaining the steps you take and their effect in ReactGrid as well as showing what should happen?

from reactgrid.

Michota avatar Michota commented on June 15, 2024

If I understood you correctly, the mechanism you're expecting works like this:

  1. ReactGrid checks the size of the selection.
  2. It aligns the data layout (e.g., from left to right) to the selection.
  3. It pastes the data, and when it reaches the end of the horizontal selection, it moves to the next row (first column) and pastes the next set of data.

BUT what if:

  • data is bigger than selection?
  • data is bigger than grid?
    What sort of behavior do you expect?

from reactgrid.

Unilfo avatar Unilfo commented on June 15, 2024

Certainly.
There are 2 problems.
First. When inserting values ​​from excel, the last empty value is inserted.
Second. After insertion, the grid size is not determined correctly.(highlights)

If you give me your email, I will send you a short video.
Thank you

from reactgrid.

Michota avatar Michota commented on June 15, 2024

Post it here or on Youtube, please.

from reactgrid.

Unilfo avatar Unilfo commented on June 15, 2024

https://youtu.be/j7X0-OO4NUU

from reactgrid.

Michota avatar Michota commented on June 15, 2024

The logic should be handled by you. You may ask why, and I will answer...
Becasue some users may want grid to expand if number of pasted columns is bigger that numbers of columns in grid. What should happen? Should grid expand by creating new columns and paste data into them? Or maybe data should be trimmed, so some of pasted-columns won't find way to grid, and data will be lost?
And that is just one problem. Many other problems may arise from feature you are requesting.

You have to create parse-from-excel logic on your own. If it will fit many different purposes of other users, we may add it to core.

from reactgrid.

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.