Comments (6)
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.
If I understood you correctly, the mechanism you're expecting works like this:
- ReactGrid checks the size of the selection.
- It aligns the data layout (e.g., from left to right) to the selection.
- 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.
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.
Post it here or on Youtube, please.
from reactgrid.
from reactgrid.
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)
- Enhance user experience - Optimize the clipping effect: After clipping cells, the cells produce ant lines, showing the edited effect
- Focus next row when pressing Enter at the last row cell HOT 2
- Pasting an externally copied negative number into ReactGrid results in a positive number HOT 7
- @silevis reactgrid table full width not working HOT 4
- onSelectionChanging not called when column header is selected HOT 3
- Copying from excel results in an additional 0 and overrides the cell below HOT 2
- Edge Browser Displays Cell Borders Post 4.1.0 Update
- How to programmatically start editing a cell?
- Add a way to deselect rows from code HOT 3
- Mention the selectedRanges for handleContextMenu in the documentation HOT 7
- Export styles variable for Dropdown cells to allow for styling with tailwind classes HOT 2
- onSelectionChanged unusable with Typescript as Range and Location are not exported by package
- Discord invite link in social links is invalid HOT 1
- Event Handler assumes id is truthy HOT 3
- CSS Selector on input overrides material ui styles HOT 2
- How to put calculations on rows and columns? HOT 7
- Fill handle does not work on dropdown cells HOT 3
- source code for budget-planner is not available HOT 1
- Chevron cell onCellChanged not triggered when ChevronCell is nonEditable HOT 4
- copy -> paste - incorrect inserted values into NumberCell HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactgrid.