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
Cut and Paste from cell with Alt+Enter in cell from EXCEL gives extra rows #49
Comments
Firstly, please excuse the bad code below but it gives the basic idea of how to fix this. It works in all cases except where the column with the Alt+Enter's in it is the last column in each row - I haven't worked out how to fix it for that case but our users won't be doing that so it's fine for me. Basically, I just changed the parsePasteInput function to not split rows on /n where the /n is in a column produced with text wrap and so bounded with "". Instead of splitting rows for these /n I just post process these after row splitting to put the /n back. Below gives the idea (again please excuse the bad code).
|
my comments in the the last posting were a bit misleading so re-posting the code here:
|
Thanks vignette, I will look into it on Monday, if you allow. |
Thanks warpech, any time you can spare to look at this would be great. |
Thanks for the report and proposal solution. I found a lot of quirks about parsing CSV/TSV values that can come from Excel, LibreOffice or Google Docs. By the method of trial and error I found a function that seems to do the job of parsing input data very well. Could you please check again? I am at your service :) |
Great work, I think you've nailed the solution! We will proceed to use this to implement a system for lodging contractor data with our organisation. After development and testing, before release (November) I will organise for a company donation. For now, I made a small personal donation myself of $50 because you've certainly saved me a lot more than that, even for an alpha concept prototype! |
Thank you, I appreciate it! Please let me know if you need some special features. |
* Fix related to translation only on UI element update (not at the build) & drop-down menu will be responsible #49 * Tests for drop-down menu with pixel perfect checks for filter's UI elements #49 * Removed unnecessary tests #49 * Fix for bug found by @budnix #49 * Workaround + tests for it #49 * Moved tests & described better & changed after merge #49 * Removed console.log #49 * WIP #49 * Clipping a text inside filter's conditional select #49 * Extra tests #49
Firstly, this is a fantastic plugin. Not a criticism, but I believe this is a bug, where cells have Alt+Enter in them in EXCEL data when cut and paste from EXCEL it creates multiple rows one for each Alt+Enter and separates the data into new rows based on this. EXCEL users often do this to format a single cell of data with returns in the text and this is not a new row when present. If this was fixed our company would be ecstatic at what this grid does for us re allowing load of spread sheet data without spread sheets! This is a great plugin, if it does what we want I'd say we will definitely be willing to donate.
The text was updated successfully, but these errors were encountered: