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 9219917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:13:36+00:00 2026-06-18T03:13:36+00:00

I have some complex data structure and am looking for a way to present

  • 0

I have some complex data structure and am looking for a way to present them in a user friendly manner:

Data Strubture:

A hasMany B 
B hasMany C (columns: C1, C2)
B hasMany D (columns: D1, D2, D3, D4)

so ideally the final display should look like the following, where the first two levels (A and B) are expandable tree nodes, and on the leaves (C and D) are different grids.

(The TreeGrid example in the doc looks similar but the leaves all have the same columns which is different from my use case.)

Any better solution?

-A
  -B1
    -C (grid)
      C1    C2 (Header)
      c11   c12
      c21   c22
    -D (grid)
      D1    D2    D3    D4 (Header)
      d11   d12   d13   d14
      d21   d22   d23   d24
      d31   d32   d33   d34
  -B2
    -C (grid)
      C1    C2 (Header)
      c11   c12
      c21   c22
    -D (grid)
      D1    D2    D3    D4 (Header)
      d11   d12   d13   d14
      d21   d22   d23   d24
      d31   d32   d33   d34
  -B3
  ....
  • 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-06-18T03:13:38+00:00Added an answer on June 18, 2026 at 3:13 am

    Can’t be done I’m afraid – you are trying to eat the cake and leave it complete… you can’t ask a single grid component to have different columns per record type.

    If your display involves different amount of columns per records, you should consider using something other than treegrid.

    If I was you I’d have a tree containing the As and Bs on an east panel; when the user clicks on a B node, two grids that exist on the center pane will display the related records.

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

Sidebar

Related Questions

I have a complex data structure (user-defined type) on which a large number of
I have a complex data structure along with some other data fields that used
I have a templated function fct that uses some complex data structure based on
I have been working to build a complex data structure which would return a
I'm integrating some code into my library. It is a complex data structure well
I have a multithreaded C++ application which holds a complex data structure in memory
I have defined some complex data types, for instance: type drawer = { ...
I have complex data structure, like this: OrderedHash, keys are dates and values are
I have a complex Python data structure (if it matters, it's a large music21
I have my own data structure written in C# (the structure is quite complex).

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.