Solved

Grouping Displayed in a WIN Datagrid

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

13 Experts available now in Live!

Get 1:1 Help Now