PC Review


Reply
Thread Tools Rate Thread

DataGrid - multiple select with no rowheader

 
 
Paul
Guest
Posts: n/a
 
      1st Sep 2003

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying an icon in a DataGrid's RowHeader? Olaf Rabbachin Microsoft VB .NET 2 17th May 2005 04:40 PM
Need to override DataGrid RowHeader Paint John Smith Microsoft VB .NET 0 30th Apr 2005 09:52 PM
Can we show row number in RowHeader of DataGrid? =?Utf-8?B?QW5kcmV3?= Microsoft ADO .NET 0 28th Oct 2004 04:15 PM
Datagrid, setting width of rowheader Christian Westerlund Microsoft Dot NET Compact Framework 0 9th Mar 2004 03:22 PM
rowheader text in DataGrid? Norvin Laudon Microsoft Dot NET Framework Forms 0 7th Aug 2003 06:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 AM.