Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Ext.grid.plugin.Clipboard pastes an extra empty line when data comes from MS-Excel #1858

Open
fabriciomurta opened this issue Apr 15, 2021 · 0 comments

Comments

@fabriciomurta
Copy link
Contributor

Found: 5.2.0
Ext.NET forums' thread: Problem pasting rows from Excel into a web grid ext.net version v5.2

In short, Ext JS 7 implemented a fix where last records, when empty, were being ignored if the data was copied to clipboard from anything but MS-Excel.

It turns out in some circumstances the user still wants to be able to trim the last line, as properly letting the empty line in means data from MS-Excel would always paste an extra blank line; which is arguably worse than suppressing empty last lines copied from anywhere else.

This should at least be left as an option/settings in the plug in so the user may switch between behaviors however they feel is best.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant