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]
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
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');
}