Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 846045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:33:04+00:00 2026-05-15T06:33:04+00:00

I am using a treeview to display projects, tasks, time entries, and the people

  • 0

I am using a treeview to display projects, tasks, time entries, and the people who are working on a project. I would like to allow the user to define a custom grouping (ie. Project->Task->Time Entries or Project->Date (of time entry)->Task->TimeEntry).

The relevant groups would be Project, Task, Time Entry, and Person, with some metadata from them. I want to have some modular way to allow a user to specify how they would like to display the information.

Does anyone know of a good method by which this can be done? I currently have hard-coded a display which looks like this:

Project  
  Task
    Time Entry
Next Project
...

My thought is to do something like write methods to display each type and somehow let a user select what order the display would group.

Please let me know if I am not being clear enough.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:33:05+00:00Added an answer on May 15, 2026 at 6:33 am

    Here is one way:

    Make a function to load a treeview node. Pass as a parameter the group types in hierarchical order: Project, Task, Time Entry, for example. The parameter could be an array or other type.

    In the function, load the nodes with the items on the top of the hierarchy: Project first, in this example. For each project you add to the nodes collection, call the function recursively with all but the top item as the parameter — Task and Time Entry in this example, then time entry only at the third level of recursion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm playing with Linq-SQL and would like to display my data in a TreeView
I am using a tooltip to display information when the user mouse_hovers on treeview
I am using Telerik treeview in MVC3 Razor view to display tree structured information.
I'm trying to make a tabbed user interface using an asp:Panel and the asp:TreeView.
I'm trying to display a class using a treeview but nothing is displayed. I've
Ok, I have a treeview which I am using to display a number of
I'm using a TreeView along with a HierarchicalDataTemplate to display a Hierarchical listing returned
I am making a windows forms application. I am using a TreeView to display
I am binding the XML Data to treeview using XMLDataSource. Its working fime, but
In a asp.net web site I'm using a TreeView to display data from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.