smalloy
Posts: 107
|
| Posted: 01/03/2005, 2:03 PM |
|
I need a Hierarchical data grid so users can pick the group they wish to add to. Here are the specifics:
-Diocese
- Parrish
- Church
+Other Diocese
-Another Doicese
+ Another Parrish
Since there can be many church's with the same name in a diocese I'd really like to have a grid that can display it this way. I have a bulky workaround but was hoping for a Hierarchical data grid. I searched areound and found a .NET grid from a component vendor but no other examples. + Could be for expandible/collapsible but its not very necessary.
Thanks!
_________________
Anything can be done, just give me time and money. |
 |
 |
BlinkyBill
Posts: 86
|
| Posted: 01/06/2005, 1:44 AM |
|
Infragisitics !!!!, awsome components.
http://www.infragistics.com/products/navigation.asp
|
 |
 |
yash
|
| Posted: 01/23/2005, 9:44 PM |
|
hello
mailme the code for making Hierarchical DataGrid
thanx
|
|
|
 |
smalloy
Posts: 107
|
| Posted: 01/24/2005, 7:38 AM |
|
I created a grid with VB, it works the way I want but It doesn't "fit" esthetically into my web app, I am a better VB developer than I am with codecharge and asp. I am experimenting with using CSS to work with it but its taking me too long. I will be happy to email you the control if you want it.
But, I came up with another solution that I like:
I use two grids, I call one the Master and the other the Detail.
-Make one of the fileds in the Master grid a Link.
-In the Before Show Event of the Master set the pagesize property (the amount of records that the grid shows) to one if the use chose one of the items:
Dim strSQLSource
Dim strFrom
If CCGetParam("s_Client_ID",Empty) <> Empty Then
Client_Pyramid1.PageSize = 1
End If
-Make sure the Detail has a WHERE clause that includes a link to the Master - mine is s_Client_ID
-In the BEFORE show event of the Detail use a IF/THEN to either hide or show the grid if there is a match to to the Where clause, here's my code:
If CCGetParam("s_Client_ID",Empty) = Empty Then
CustomerLocations.Visible = False
Else
CustomerLocations.Visible = True
End If
The end result is that the use sees one grid with say 20 records, they click on the one they want, now that record is the only one in the Master Grid and the detail grid appears with only those records related to the Master.
Its a good work around until I can create a control that works with CSS.
_________________
Anything can be done, just give me time and money. |
 |
 |
|