Solved

Grouping Displayed in a WIN Datagrid

Posted on 2004-09-16
2
187 Views
Last Modified: 2010-04-15
I have my data in a dg.  But the last column which is is long text, but very descriptive, I would like to show once, and have it act as a header for the 1,3,50 items below.

"ONE SPEED - TWO GEAR - MECHANICAL SHIFT"
data 7 columns wide for maybe 20 rows.  

then put in the next Order by instance:

TWO SPEEDS - FORWARD & REVERSE                                                                                                                                    
data 7 columns wide with 3 rows.

and so on.

Is this possible?  
Currently I have the data in a ds and only 1 table.  The Groupby text comes from another table in teh database I could have that in the ds if needed.

TIA.

__Stephen
0
Comment
Question by:srussell705
2 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12080303
AFAIK, this is not possible with the very primitive data grid control.  There are much better controls, like Janus, Sheridan, and ComponentOne grids that might be able to perform this way.

Bob
0
 
LVL 7

Accepted Solution

by:
CJCraft earned 350 total points
ID: 12080640
The Infragistics control line is also very good for this kind of thing.
http://www.infragistics.com/

Hierarchical Datagrid
http://weblogs.asp.net/pleloup/archive/2003/08/18/24413.aspx

3418 - Creating a Hierarchical Drilldown DataGrid
http://www.learnvisualstudio.net/videos/3418_Creating_a_Hierarchical_Drilldown_DataGrid.htm
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# GridRow get Old/New Value 1 55
Connecting database in Xamarin? 6 48
LINQ - C# to VB convertion 12 46
Need a complete list of ASP.NET page load events 3 25
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now