473,387 Members | 3,684 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.

UI control to present hierarchical data

Hi there.

I am trying to find th best way (best UI control) to present hierarchical
data, nested tables. For example, I have a Employees table (id, name) and
EmployeesSales (id, idEmp, description, value).
I want to show this in an hierarchical mode, so I tried DataGrid control.
However, as I read somewhere, this DataGrid can only show one table at a
time, i.e., when I click "plus" sign, I have only a link to the
EmployeesSales table.

So my question is, wich UI control can I use? Could I consider Treeview? Or
maybe try to find third party controls (unfortunatly, must be free).

Thanks in advance.

Regards,

Marco Pais
Jun 27 '08 #1
4 4355
On May 5, 7:55*am, "Marco Pais" <marco.pais[at]gmail.comwrote:
Hi there.

I am trying to find th best way (best UI control) to present hierarchical
data, nested tables. For example, I have a Employees table (id, name) and
EmployeesSales (id, idEmp, description, value).
I want to show this in an hierarchical mode, so I tried DataGrid control.
However, as I read somewhere, this DataGrid can only show one table at a
time, i.e., when I click "plus" sign, I have only a link to the
EmployeesSales table.

So my question is, wich UI control can I use? Could I consider Treeview? Or
maybe try to find third party controls (unfortunatly, must be free).

Thanks in advance.

Regards,

Marco Pais
We use the controls from Infragistics, theirs grid support that. Take
a look at the examples:
http://samples.infragistics.com/2008...chicalGrid.src
Jun 27 '08 #2
Yeah.. I know those controls. Unfortunatly, I'm not able to afford it.

Thanks for the reply...
"Ignacio Machin ( .NET/ C# MVP )" <ig************@gmail.comescreveu na
mensagem
news:ed**********************************@y38g2000 hsy.googlegroups.com...
On May 5, 7:55 am, "Marco Pais" <marco.pais[at]gmail.comwrote:
Hi there.

I am trying to find th best way (best UI control) to present hierarchical
data, nested tables. For example, I have a Employees table (id, name) and
EmployeesSales (id, idEmp, description, value).
I want to show this in an hierarchical mode, so I tried DataGrid control.
However, as I read somewhere, this DataGrid can only show one table at a
time, i.e., when I click "plus" sign, I have only a link to the
EmployeesSales table.

So my question is, wich UI control can I use? Could I consider Treeview?
Or
maybe try to find third party controls (unfortunatly, must be free).

Thanks in advance.

Regards,

Marco Pais
We use the controls from Infragistics, theirs grid support that. Take
a look at the examples:
http://samples.infragistics.com/2008...chicalGrid.src
Jun 27 '08 #3
check out march & april 2008 MSDN Mag for LISTVIEW control usage.

"Ignacio Machin ( .NET/ C# MVP )" <ig************@gmail.comwrote in
message
news:ed**********************************@y38g2000 hsy.googlegroups.com...
On May 5, 7:55 am, "Marco Pais" <marco.pais[at]gmail.comwrote:
Hi there.

I am trying to find th best way (best UI control) to present hierarchical
data, nested tables. For example, I have a Employees table (id, name) and
EmployeesSales (id, idEmp, description, value).
I want to show this in an hierarchical mode, so I tried DataGrid control.
However, as I read somewhere, this DataGrid can only show one table at a
time, i.e., when I click "plus" sign, I have only a link to the
EmployeesSales table.

So my question is, wich UI control can I use? Could I consider Treeview?
Or
maybe try to find third party controls (unfortunatly, must be free).

Thanks in advance.

Regards,

Marco Pais
We use the controls from Infragistics, theirs grid support that. Take
a look at the examples:
http://samples.infragistics.com/2008...chicalGrid.src
Jun 27 '08 #4
On May 5, 4:55*am, "Marco Pais" <marco.pais[at]gmail.comwrote:
Hi there.

I am trying to find th best way (best UI control) to present hierarchical
data, nested tables. For example, I have a Employees table (id, name) and
EmployeesSales (id, idEmp, description, value).
I want to show this in an hierarchical mode, so I tried DataGrid control.
However, as I read somewhere, this DataGrid can only show one table at a
time, i.e., when I click "plus" sign, I have only a link to the
EmployeesSales table.

So my question is, wich UI control can I use? Could I consider Treeview? Or
maybe try to find third party controls (unfortunatly, must be free).

Thanks in advance.

Regards,

Marco Pais
Marco,

Here is a free opensource project found on CodeProject:
http://www.codeproject.com/KB/list/o...stcontrol.aspx

It might serve your purposes well, but not sure how well.
By the way, the DataGrid control does support master details view,
however, the DataGridView control does not.

cheers

Jun 27 '08 #5

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

Similar topics

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: Alex | last post by:
Interested in more .NET stuff visit www.dedicatedsolutions.co.uk The DataList is not as powerful as the DataGrid. It requires more work from you since it has no default data presentation format....
1
by: Bennett Haselton | last post by:
Are there any samples of how to create a user control that uses templates, like the <ItemTemplate> and <HeaderTemplate> of the Repeater control? I tried searching for user control samples on the...
1
by: cipcip | last post by:
hi, is there a way to bind a menu control with a dataset without get this error? System.InvalidOperationException: HierarchicalDataBoundControl only accepts data sources that implement...
2
by: Chris | last post by:
I keep my data in an array and using TextMatrix property for filling the control cells. I am not using recordset. Is there any way for creating bands programmatically in a Hierarchical GridView...
2
by: Olav | last post by:
I need a control to display a hierarchical tree of data and each node in the tree should have a checbox to select / unselect that part of the tree. Selecting / unselecting a top node should select...
0
by: stoogots2 | last post by:
I have a strange ASP.NET app requirement to create a hierarchical view of non-relational data, the datasource being a flat table built from something like a spreadsheet. The table is large so I need...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.