Datagrid & multiple selection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all

We're thinking about moving from our current programming language (clarion) to C# .NET, so we have a look at the vast options of .NE

Is it, using a datagrid/dataview possible to select multiple records as in a listview? (Shift Up/Down, Shift PgUp/PgDn, Ctrl left mouse click etc
As far as I can see, only Ctrl MouseLeft is supported (via the HitTest method

It would be nice to get a collection of selected records from the datagrid/dataview, to be able to do something with, and don't bother about how records get selected by the end user..

TI
Ronal
Compa
 
Yes, multiselection can be done in the DataGrid via Shift+Up/Down,
Shift+PgUp/PgDown, etc. When you want to click to select a row click on the
row header. To determine which rows are selected see the following link:
http://www.syncfusion.com/faq/winforms/search/775.asp

--
Tim Wilson
..Net Compact Framework MVP
{cf147fdf-893d-4a88-b258-22f68a3dbc6a}
Raaphorst said:
Hi all,

We're thinking about moving from our current programming language
(clarion) to C# .NET, so we have a look at the vast options of .NET
Is it, using a datagrid/dataview possible to select multiple records as in
a listview? (Shift Up/Down, Shift PgUp/PgDn, Ctrl left mouse click etc)
As far as I can see, only Ctrl MouseLeft is supported (via the HitTest method)

It would be nice to get a collection of selected records from the
datagrid/dataview, to be able to do something with, and don't bother about
how records get selected by the end user...
 
Hmmm. Thanks for the reply
I did this in my original language, and it was pretty tricky to do
I hoped that this functionality is this common that it would have been implemented in the .NET classes somewhere
But you pointed me in the right direction. Thanks

Ronal

----- Tim Wilson wrote: ----

Yes, multiselection can be done in the DataGrid via Shift+Up/Down
Shift+PgUp/PgDown, etc. When you want to click to select a row click on th
row header. To determine which rows are selected see the following link
http://www.syncfusion.com/faq/winforms/search/775.as

--
Tim Wilso
..Net Compact Framework MV
{cf147fdf-893d-4a88-b258-22f68a3dbc6a
Raaphorst said:
a listview? (Shift Up/Down, Shift PgUp/PgDn, Ctrl left mouse click etc
As far as I can see, only Ctrl MouseLeft is supported (via the HitTes method
datagrid/dataview, to be able to do something with, and don't bother abou
how records get selected by the end user..
 
Back
Top