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

Multiselection with SHIFT + HOME, SHIFT + END.

3 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 12 Nov 2010, 01:59 PM

Hi

For example in Windows explorer there is nice functionality for selecting items (rows):
SHIFT + HOME (select items from first to current), SHIFT + END (select items from current to last item).

How can I enable this functionality in RadGridView for rows?
By default those shortcuts select first and last cell in current row.

Regards

3 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 12 Nov 2010, 02:37 PM
Hello, 

You'd need to capture the KeyDown event on the RadGFridView, match the keys to the function you wish to perform and then loop over the rows, selecting the ones that should be selected for that function. 

Hope that helps
Richard
0
Raymond
Top achievements
Rank 1
answered on 15 Nov 2010, 11:41 AM
I did what you wrote and it works fine
0
Richard Slade
Top achievements
Rank 2
answered on 15 Nov 2010, 11:42 AM
Glad that worked for you Raymond,

All the best
Richard
Tags
GridView
Asked by
Raymond
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Raymond
Top achievements
Rank 1
Share this question
or