PC Review


Reply
Thread Tools Rate Thread

DataGrid for Windows Forms: suppress plus sign

 
 
Ken Morris
Guest
Posts: n/a
 
      2nd Oct 2003
Any ideas on how to suppress the plus sign (+) beside a
DataGrid row when that particular parent row has no
records in the corresponding child table?

This applies to a datagrid for a Windows form.

Much thanks to the white knight who can help me.
 
Reply With Quote
 
 
 
 
Dmitriy Lapshin [C# / .NET MVP]
Guest
Posts: n/a
 
      3rd Oct 2003
Hi Ken,

The DataGrid class should have an EnableNavigation property (or something
similar) that just disables these [+]es. There's also a DataGridTableStyle
class you can apply to a certain data table bound to the grid - may be this
property is available only from the DataGridTableStyle.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Ken Morris" <(E-Mail Removed)> wrote in message
news:1e2e201c38914$82d05b30$(E-Mail Removed)...
> Any ideas on how to suppress the plus sign (+) beside a
> DataGrid row when that particular parent row has no
> records in the corresponding child table?
>
> This applies to a datagrid for a Windows form.
>
> Much thanks to the white knight who can help me.


 
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
How do I suppress the % sign in a chart? =?Utf-8?B?TEM2NzM=?= Microsoft Excel Charting 1 13th Jan 2006 08:50 AM
How do I suppress the % sign in a chart? =?Utf-8?B?TEM2NzM=?= Microsoft Excel Charting 0 13th Jan 2006 04:18 AM
Re: Windows Forms Datagrid Mahesh Devjibhai Dhola [MVP] Microsoft C# .NET 0 21st Dec 2005 06:39 AM
Re: Windows Forms Datagrid Ken Tucker [MVP] Microsoft VB .NET 0 28th Aug 2004 09:58 PM
Datagrid (windows forms) =?Utf-8?B?dE1hbg==?= Microsoft VB .NET 1 8th Jul 2004 06:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:43 AM.