How to multiselect DataGridView rows without pressing CTRL key in c#?
-
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
-
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
It's not trivial! See here: multiple row selection without control key in C# winforms[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
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
Why can't you use a checkbox if it is easier? Since it's a "touch screen", I assume the "public" will be using it. The "public" is generally familiar with widgets such as "checkboxes", "radio buttons", "movers", "selected color", etc. and how they work when it comes to "selecting" or "showing" selections. You're not doing anyone any favors if you think you have found a "new" way to show selected items. Anyway, even if you use a checkbox, you can still "hide" it.