This is a migrated thread and some comments may be shown as answers.

kendo grid text selection with mouse

5 Answers 955 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Emanuel
Top achievements
Rank 1
Emanuel asked on 28 Jun 2016, 08:06 AM

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

Sort by
0
Dimiter Madjarov
Telerik team
answered on 30 Jun 2016, 07:28 AM

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
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Emanuel
Top achievements
Rank 1
answered on 30 Jun 2016, 08:04 AM

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

0
Dimiter Madjarov
Telerik team
answered on 30 Jun 2016, 08:23 AM

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
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Nariman
Top achievements
Rank 1
answered on 16 May 2017, 10:30 AM

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.

0
Boyan Dimitrov
Telerik team
answered on 18 May 2017, 08:46 AM

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
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Emanuel
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Emanuel
Top achievements
Rank 1
Nariman
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or