Completed
Last Updated: 12 Sep 2024 14:20 by ADMIN
Release 2024 Q4 (Nov)
Ivan
Created on: 30 Nov 2023 07:42
Category: Grid
Type: Bug Report
0
copySelectionToClipboard failing if there is hidden column

Bug report

copySelectionToClipboard() throws an error when the Grid has hidden column/s

Also if false is passed to the method  - grid.copySelectionToClipboard(false); - not all  GUID columns are copied to the clipboard

Reproduction of the problem
Dojo: https://dojo.telerik.com/OpiBoDaH

Select a row/rows

Click on the Select and copy button

Expected/desired behavior
Error should not be present and copy to clipboard shall copy correct data

Environment
Kendo UI version: [all]
Browser: [all]

2 comments
ADMIN
Neli
Posted on: 30 Aug 2024 07:51

Hi Volker,

Thank you very much for pointing to a possible cause for the observed issue.

Below I am pasting the related item in GitHub. There is already a developer assigned to the issue and the item is under testing. Once the fix passes all tests it will have a milestone set. 

- https://github.com/telerik/kendo-ui-core/issues/7621

I hope this helps.

Regards,
Neli
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

Volker
Posted on: 23 Aug 2024 10:19

In the function 'getTSV' which is called by the 'copySelectionToClipboard' function, there is an incomplete statement:

Current implementation:

                    if (onlyVisible) {
                        selected.filter(':visible');
                    }

Has to be:

                    if (onlyVisible) {
                        selected = selected.filter(':visible');
                    }