PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms DataGrid - multiple select with no rowheader

Reply

DataGrid - multiple select with no rowheader

 
Thread Tools Rate Thread
Old 01-09-2003, 09:02 PM   #1
Paul
Guest
 
Posts: n/a
Default DataGrid - multiple select with no rowheader



Hi

I have customised the style of a datagrid so that the
rowheadervisible property is false. However, when a cell
is clicked I want the row to be selected (as would be the
case if the rowheader was selected).

How do you select select a whole row just by clicking one
cell and also allow multiple selections.

I have looked at extending the DataGrid class and
overriding the OnMouseDown event but I haven't been able
to achieve the required behaviour.

Any help much appreciated.

Thanks, Paul.
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off