Hello,
I have found I cannot select text from grid and copy it to clipboard. When searching this issue I have found the following demos. In the first demo I can select text and copy it:
http://jsfiddle.net/OnaBai/uj6sr9ez/
However, in the following demo I cannot copy the text from cell or row:
http://demos.telerik.com/kendo-ui/grid/selection
which demonstrate the problem.
My question is how I enable text copying (either cell(s) or row(s)) from grid to clipboard.
Thanks in advance,
Emanuel
5 Answers, 1 is accepted
Hello Emanuel,
You could enable the allowCopy option of the Grid, which could be used along with multiple selection in order to copy the contents of the selected rows to clipboard.
Regards,Dimiter Madjarov
Telerik
Thank you Dimiter,
Is there a way to configure enabling a cell text copy even when the table is configured to row selection? I see I can only copy whole rows.
Thanks in advance,
Emanuel
Hello Emanuel,
No, in this case cell selection mode should be used. When the allowCopy option is enabled, all of the selected contents are retrieved to the clipboard.
Regards,Dimiter Madjarov
Telerik
Hi Dimiter,
As Emanuel mentioned this is very common scenario for the grid where the row should be selected for the user to indicate the current row (e.g: list of orders), however user just want to select and copy the Order Number in the clipboard to use it in another screen or send email to another user pasting this order number!
As you can see this is an obvious common practice for users and you should make kendo grid flexible to provide this very basic feature!
Please remember that you guys put a lots of efforts creating this wonderful grid, you shouldn't loose your users' & developers experience just because you're not providing this very basic and frequently used & expected feature!
Please communicate this with your development team and/or provide us with a workaround to provide this feature!
Thank you.
Hello,
Thank you for your feedback.
It is quite possible that such functionality will cause some confusing together with row selection. The main idea of having row selection is to select the entire row as selected (different color). From UX/UI perspective user determines what content to be copied to the clipboard based on the selection. Since the entire row is selected there is no way to differentiate that only specific columns/cells should be copied to the clipboard while in the meantime the entire row is marked as selected.
Regards,Boyan Dimitrov
Telerik by Progress