Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

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

Open fabriciomurta opened this issue 4 years ago • 0 comments

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.

fabriciomurta avatar Apr 15 '21 18:04 fabriciomurta