This project is read-only.

multiselect rows with <shift> arrow keys

Apr 24, 2010 at 12:58 PM

Hi there,

Does anyone know if this is possible to select rows with arrow keys?

I tried something like this:

if (keyData == (Keys.Shift | Keys.Up))


int iRow = grdCalculation.Selection.ActivePosition.Row;


grdCalculation.Selection.SelectRow(iRow, true);


But it seems to reset the (original) selection first.

Multiple selection with the mouse is no problem . . .


Apr 26, 2010 at 8:28 AM
Really strange that this has not been yet implemented :) I will check that today
Apr 26, 2010 at 8:43 AM
I fixed this, please use the tip from bitbucket, should work
Apr 26, 2010 at 9:03 PM

Thanks ! Looking real good

First test are ok :) :) :)

I didn't had a IGridSelection but I copied it in anyway.

I will test it further tomorrow

Many thanks


Apr 27, 2010 at 10:39 AM

It is not possible to not have it if you are using latest version from bitbucket :)

Apr 27, 2010 at 7:12 PM

I used and older version of sourcegrid (4.20) but i downloaded for the correction v 4.22

No IGridSelection  ?

Am i downloading the wrong source ? ( it works with the correction :)  )

Thanks :)