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

how to deselect a row in the radgrid

4 Answers 1044 Views
Grid
This is a migrated thread and some comments may be shown as answers.
yuva
Top achievements
Rank 1
yuva asked on 03 Nov 2008, 06:51 AM
Need ur Help !!!

how to deselect a row in the radgrid when user performs a click operation in any row ??

I am having checkbox as my first column in radgrid.

Thanks,
Yuvaraj

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Nov 2008, 08:24 AM
Hi yuva,

Please check the second grid in this example:
http://demos.telerik.com/aspnet/Prometheus/Grid/Examples/Client/Selecting/DefaultCS.aspx

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
yuva
Top achievements
Rank 1
answered on 03 Nov 2008, 09:16 AM
you can unselect a row by holding the Crtl key and clicking the row (This is working fine).

I want this  to be done when an user clicks the row again .

i.e (If user clicks the row, the row should be selected and again if user clicks the row ,the  row should be deselected.)

0
Sebastian
Telerik team
answered on 03 Nov 2008, 09:59 AM

Hello yuva,

The select/deselect behavior you request is not supported out-of-the-box, however you may consider one of the solutions presented in the following public forum/code library threads:

http://www.telerik.com/community/forums/thread/b311D-bcktde.aspx
http://www.telerik.com/community/forums/thread/b311D-hdcah.aspx
(you will need to convert the code to the ASP.NET AJAX version of the grid using this topic for reference)

http://www.telerik.com/community/code-library/submission/b311D-ggmet.aspx

Best regards,

Stephen

the Telerik team


Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
yuva
Top achievements
Rank 1
answered on 04 Nov 2008, 06:59 AM
Thanks for your response Stephen.

Let me try that solution and will get back to you if i have any issues.
Tags
Grid
Asked by
yuva
Top achievements
Rank 1
Answers by
Vlad
Telerik team
yuva
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or