PC Review


Reply
Thread Tools Rate Thread

Datagrid with grouping

 
 
=?Utf-8?B?R2VyYWxkaW5lIEhvYmxleQ==?=
Guest
Posts: n/a
 
      7th Jul 2004
hello,
I was wondering if there is anyway that you can implement a datagrid that spreads over two rows based on grouping, so you could have something similar to below.
Description qty type A Type B Type c
Part 1 2 £11.00 £12.00 £13.00
Costs £22.00 £24.00 £26.00
Part 2 2 £60.00 £100.00 £46.00
Costs £120.00 £200.00 £92.00

The number of rows that the datagrid should contain is not determined till runtime.

Any help would be appreciated.

Geraldine
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      7th Jul 2004
Hi,

Dont know of any way to do that with the datagrid. Take a look at
the free component one grid that comes with vb.net resource kit. There are
samples that show you how to do grouping.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx


Ken
--------------------------
"Geraldine Hobley" <(E-Mail Removed)> wrote in
message news:8D055FF1-0B1A-4079-8F6B-(E-Mail Removed)...
> hello,
> I was wondering if there is anyway that you can implement a datagrid
> that spreads over two rows based on grouping, so you could have something
> similar to below.
> Description qty type A Type B Type c
> Part 1 2 £11.00 £12.00 £13.00
> Costs £22.00 £24.00 £26.00
> Part 2 2 £60.00 £100.00 £46.00
> Costs £120.00 £200.00 £92.00
>
> The number of rows that the datagrid should contain is not determined till
> runtime.
>
> Any help would be appreciated.
>
> Geraldine



 
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
DataGrid Grouping =?Utf-8?B?RGlvZ28gQWx2ZXMgLSBTb2Z0d2FyZSBEZXZlbG9w Microsoft C# .NET 2 15th Nov 2005 01:18 AM
Wrapping and grouping headers in DataGrid RG Microsoft Dot NET Framework Forms 0 16th Jul 2004 06:51 AM
Grouping in a datagrid James Leech Microsoft Dot NET Framework Forms 0 29th Jun 2004 09:43 AM
datagrid grouping? Craig Buchanan Microsoft ASP .NET 0 3rd Dec 2003 10:20 PM
Option 'group' not grouping in datagrid JemPower Microsoft ASP .NET 0 29th Aug 2003 12:55 PM


Features
 

Advertising
 

Newsgroups
 


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