Grid: How to enabled drag selection in specific column so cell text selection still works in all other columns

1 Answer 111 Views
Grid
Brent
Top achievements
Rank 1
Brent asked on 24 Mar 2023, 06:21 PM
it seems grid.selectable={{ drag: true }} prevents otherwise native browser cell text selection... we only need drag selection for the one special "isselected" checkbox column cells versus dragging selection across all the other cells... any way to enable this? perhaps customizing cell render function removing or adding something to defaultRendering? short of a full solution, could you elaborate on what code is capturing the click event when drag mode is enabled?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 28 Mar 2023, 11:31 AM

Hi Brent,

The drag-to-select functionality of the Grid can be enabled for the entire data content only and there is no option for limiting its area to cover only specific columns. In order to allow text selection from cells you need to disable the drag-to-select completely.

 

Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Brent
Top achievements
Rank 1
commented on 28 Mar 2023, 12:14 PM

Thanks for your response

Can you please convert this to a feature request under my support license?

Konstantin Dikov
Telerik team
commented on 30 Mar 2023, 09:47 AM

Tags
Grid
Asked by
Brent
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or