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

Cell Text Selection after Set AllowRowSelect="True" in RadGrid.

3 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeremiah
Top achievements
Rank 1
Jeremiah asked on 16 Jul 2013, 09:17 AM
Hi there,

I met a problem when I'm using the RadGrid control.

I need select a text from a cell via mouse selection and copy it to clipboard via press ctl + c.  (A very common mouse selection)

However, after I clicked a cell, a entire row is selected, I am not able to select the text from the cell I clicked.
<ClientSettings AllowColumnsReorder="False" ReorderColumnsOnClient="False">
             <!-- Cell Text can be selected by mouse and copy to clipboard after I remove this row. -->
            <Selecting AllowRowSelect="True" CellSelectionMode="SingleCell" />
</ClientSettings>

I tried to remove AllowRowSelection = "True", the problem sloved. But I have to keep it.

Does anyone meet the same problem?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 16 Jul 2013, 12:55 PM
0
Jeremiah
Top achievements
Rank 1
answered on 17 Jul 2013, 12:24 AM
Hello Jayesh,

Thanks for your reply, the person had the same problem. Seems his problem is still there.

Does anyone know how to keep Row "<Selecting AllowRowSelect="True" />" with cell text selection?

Thanks in advance.
0
Jeremiah
Top achievements
Rank 1
answered on 17 Jul 2013, 12:33 AM

This post sloved my problem.

http://www.telerik.com/community/forums/aspnet-ajax/grid/select-text-although-allowrowselect-is-true.aspx


I should set ClientSettings->Selecting->EnableDragToSelectRows to false.
Tags
Grid
Asked by
Jeremiah
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Jeremiah
Top achievements
Rank 1
Share this question
or