Solved

Grouping Displayed in a WIN Datagrid

Posted on 2004-09-16
2
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

697 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