Been banging my bonce on this one, gonna pass it over to the guru's for a wee bit of help if you don't mind.
Basically, I'm after a navigation tree similar to the following:
Which is grabbed from a XML file.
What I need to be able to do though is firstly:
Grab the "Groups" as a seperate entity altogether and NOT included them in a tree control but the table name within the dataset. So ideally within my dataset I could use a "For Each DataTable in Dataset.Tables" and the TableName would return "Group1", "Group2", etc.
The "Section" entities would be parents in the tree, with the "Programs" been children. I also need to add attributes to the nodes such as "Key", "Allowed", etc, that I can read and act on accordingly.
I have spent a good 2-3 hrs on Google this evening but have turned up with little or no help as it's such a specific problem rather than a generic.
Any help on how to achieve this would be really appreciated.
Basically, I'm after a navigation tree similar to the following:
PHP:
Group 1
|-----Section 1
|---Program 1
|---Program 2
|-----Section 2
|---Program 1
|-----Section 3
|---Program 1
|---Program 2
|---Program 3
Group 2
|-----Section 1
|---Program 1
|---Program 2
|-----Section 2
|---Program 1
|-----Section 3
|---Program 1
|---Program 2
|---Program 3
Which is grabbed from a XML file.
What I need to be able to do though is firstly:
Grab the "Groups" as a seperate entity altogether and NOT included them in a tree control but the table name within the dataset. So ideally within my dataset I could use a "For Each DataTable in Dataset.Tables" and the TableName would return "Group1", "Group2", etc.
The "Section" entities would be parents in the tree, with the "Programs" been children. I also need to add attributes to the nodes such as "Key", "Allowed", etc, that I can read and act on accordingly.
I have spent a good 2-3 hrs on Google this evening but have turned up with little or no help as it's such a specific problem rather than a generic.
Any help on how to achieve this would be really appreciated.