Solved

Grouping Displayed in a WIN Datagrid

Posted on 2004-09-16
2
188 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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 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