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

Prevent row selection on row click. Allow only GridClientSelectColumn

4 Answers 542 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mac P
Top achievements
Rank 1
Mac P asked on 14 Jun 2010, 04:52 PM

Hello,

I have one simple one but having hard time to find a way to do it.
I want to prevent users to select row on client side with row click  on any other cell click but  allow only GridClientSelectColumn to select and unselect the row.

 

AllowMultiRowSelection

 

 

="true" on the grid

 

 

 

I have these settings on the mastertableview

 

<

 

 

ClientSettings AllowColumnsReorder="True">

 

 

 

 

 

 

 

<Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />

 

 

 

 

 

 

 

<Resizing AllowColumnResize="true" />

 

 

 

 

 

 

 

</ClientSettings>

Please guide me what should i do

 

4 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Jun 2010, 09:00 PM
Hello Mac,

I recommend that you examine the following online demo :
Client-side Row Selection

Let me know if you need further assistance.

Regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mac P
Top achievements
Rank 1
answered on 14 Jun 2010, 11:13 PM
Daniel,
Thanks for your reply. I think there is some confusion regarding my question. Sorry about that.
What i need is to disable row selection functionality on row click or any other cells click. I want row selection to occur only when user checks the ClientGridSelectColumn.

The reason is that the check box allows users to perform an action based on their selection. However there is another button column on the grid and clicking that selects the row since i have allowrowselect to true and hence the checkbox is checked even when i dont want it to be.
0
Shinu
Top achievements
Rank 2
answered on 15 Jun 2010, 10:50 AM
Hello,

The code library shows how to achieve the required functionality.
ClientSideSelectColumn - Disallow other selection


-Shinu.
0
Mac P
Top achievements
Rank 1
answered on 15 Jun 2010, 04:06 PM
Thanks. It works great.
Tags
Grid
Asked by
Mac P
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Mac P
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or