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

New Row Adition Issue

1 Answer 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 21 Jul 2011, 04:42 AM
Dear Team

After adding a new row in DataGrid, if we click on any other row than both rows are shown as selected. We want that row that is clicked lately only it should be shown as selected and SelectedItems must only containt one element.

Regards
Shahnawaz Babar

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 21 Jul 2011, 07:51 AM
Hello Muhammad,

Generally, if the SelectionMode property of the grid is set to "Single"  (the default value), the behavior is as the one you require - once a row is clicked, only it is selected. I have tried to reproduce your case, but unfortunately without any success. May you provide a bit more information on your scenario - what is the SelectionMode, do you handle any specific event, what version of RadGridView are you using ?

Regards,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or