473,387 Members | 3,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Hierarchical Data is Ugly !

adh
Winforms Datagrid Qoute (MSDN):
Expanders are displayed in each parent row that contains a child table.
Clicking an expander generates a list of Web-like links to the child tables,
which when selected cause the child tables to be displayed end Quote.
I hate it:
1) This 'expando' icon is painted on each row even when no child belongs to
it.
2) When clicking this 'expando' icon you get a link to the child data, not
the data itself.
Ugly, ugly ugly. Any resolutions?
Thanks
ADH
Nov 21 '05 #1
5 2174
If you don't like it then turn it off!

datagrid.AllowNavigation=False
Larry Woods

"adh" <av*****@adhsys.co.il> wrote in message
news:uC****************@tk2msftngp13.phx.gbl...
Winforms Datagrid Qoute (MSDN):
Expanders are displayed in each parent row that contains a child table.
Clicking an expander generates a list of Web-like links to the child tables, which when selected cause the child tables to be displayed end Quote.
I hate it:
1) This 'expando' icon is painted on each row even when no child belongs to it.
2) When clicking this 'expando' icon you get a link to the child data, not
the data itself.
Ugly, ugly ugly. Any resolutions?
Thanks
ADH

Nov 21 '05 #2
Hi,

Two options. First display the data in two grids use a
datarelation to keep the grids in sync.

www.onteorasoftware.com/downloads/multigrids.zip

Second use a third party grid to display the data. I like the developer
express one.
http://www.devexpress.com/products/NET/XtraGrid/

There is a free one from component one in the vb.net resource kit.
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx
Ken
-------------------------------
"adh" <av*****@adhsys.co.il> wrote in message
news:uC****************@tk2msftngp13.phx.gbl...
Winforms Datagrid Qoute (MSDN):
Expanders are displayed in each parent row that contains a child table.
Clicking an expander generates a list of Web-like links to the child tables,
which when selected cause the child tables to be displayed end Quote.
I hate it:
1) This 'expando' icon is painted on each row even when no child belongs to
it.
2) When clicking this 'expando' icon you get a link to the child data, not
the data itself.
Ugly, ugly ugly. Any resolutions?
Thanks
ADH

Nov 21 '05 #3
If you don't like it then turn it off!
Nope, I do like it but only on the rows needed.
Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #4
Ken,
Two options. First display the data in two grids use a
datarelation to keep the grids in sync.
www.onteorasoftware.com/downloads/multigrids.zip
I would like to have the data "telescoped".

Second use a third party grid to display the data. I like the developer
express one.
http://www.devexpress.com/products/NET/XtraGrid/

There is a free one from component one in the vb.net resource kit.
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

Thanks, I will look at them.
2005 will bring as a better integrated solution?
This is something very basicaly (so I think).

Thanks, adh

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #5
Hi

I think you may try to post the suggestions to our MSWish program
http://register.microsoft.com/mswish/suggestion.asp.
Also it is hard to customize the datagrid to adapt your goal, so it is
better to use a third-party control or recreate one ourselves.
Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jayson_13 | last post by:
Hi, I want to retrieve the hierarchical structure which is store inside the database and then display it using treeview control. But now I got a design issue which I hope that you guys can help...
4
by: Daisy | last post by:
Let's say I've got a forum, where users can be moderators of each forum. Tables look like this: USER -------- user_key name FORUM
5
by: clintonG | last post by:
I'm looking for documentation and would not turn my nose up to any code from anybody who thinks they are good at the design of an algorythm that can be used to generated a hierarchical relational...
0
by: stigbn | last post by:
When a DataSet is used as data source for a DataGrid one can get hiearachical datagrid by using relations among the DataTables of the DataSet. (By hierarchical datagrid, I mean columns that can be...
0
by: Björn Bengtsson | last post by:
Hello! I have an urgent problem concerning ASP.NET, ADO.NET, SQL Server, XML and the TreeView control. I have two tables; one describing the products and one describing their relationships. A...
3
by: Bennett Haselton | last post by:
I want to display a hierarchical listing of items from a database table, where, say, each row in the table has an "ID" field and a "parent_id" field giving the ID of its parent (NULL if it's at the...
2
by: Don | last post by:
In a previous version of vb I used to save and load hierarchical data from an Access db into a treeview. But, I never found a very satisfying or elegant way to do it. I used a flat file approach...
4
by: Congero | last post by:
I'm trying to find a way to bind hierarchical data to a gridview control. I've been able to do this with some third party controls and was wondering if this functionality is available with the...
30
by: Vadim Tropashko | last post by:
Reposting with more clarification (as Jan asked). Suppose I have a BNFgrammar and a source text parsed into a tree. How would I query an identifier declaration? All the XQuery tutorials...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.