1
Answer

multiselect DataGridView rows without pressing CTRL in c#?

naouf gyd

naouf gyd

9y
424
1
I am new to c# and using windows forms.

I have a DataGridView control on a form and I need to allow a user to multi-select rows (when they click on a row) without using the CTRL key (no keyboard is available - they are using a touch screen) and without using check box column. I have enabled the mutli-select property.

Please help me how to do that, Thank you
Answers (1)
0
Mike Hankey

Mike Hankey

NA 110 0 16y
You might try creating multiple DataView objects and setting source to them.  You'll have to set the Filter accordingly for each!

Hope this helps
Mike