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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:28:42+00:00 2026-05-17T01:28:42+00:00

This is the situation: I’ve got a listview with some item. Each of these

  • 0

This is the situation:

I’ve got a listview with some item. Each of these item have got an other list, and I would like to show this list in a gridview.

So I’d like to show the main listview with expanders, and if the user expand one of this item, it will show the other list in a gridview.

The problem is that, the gridview must be a dynamic, because the properties of the item is dynamic.

Could You give me some idea, how to create a gridview with dynamic columns in a listview item.

There is an illustration 😀 :

Mainlist with expanders:

->mainitem1
->mainitem2 (this is expanded 🙂 )

 Column1   Column2  Column3
property1 property2 property3   (other list first item properties)
property1 property2 property3   (other list second item properties)
property1 property2 property3   (other list third item properties)
property1 property2 property3   (other list fourth item properties)

->mainitem3

I hope you understand it 🙂 .

Thanks in advance for every comment!

Regards,
Zoli

  • 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-17T01:28:43+00:00Added an answer on May 17, 2026 at 1:28 am

    I would suggest using the wpf DataGrid.

    You could use it for the whole solution or just the inner ListView could be a DataGrid. The DataGrid can automatically generate the columns for you, and you can set it to be read-only so it will behave similiar to a ListView.

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

Sidebar

Related Questions

I have this situation where I want to display a list of Administration objects
This situation probably is not entirely uncommon to some of you: you have some
This situation involves 3 tables. items videos instructions Each Item has a column 'entitytype'
Situation looks like this: We have product 'A123' and we have to remember lowest
Consider this situation: I've got an aquarium simulator where I have 5 different types
I have this situation: I have a page where I have a list of
In this situation I have two models, Comment and Score. The relationship is defined
I have this situation: $(#button).toggle(function(){ $(#window).animate({top:'0%'},1000); },function(){ $(#window).animate({top:'-100%'},1000); }); but I need change it
I have this situation: http://jsfiddle.net/bRDgK/3/ In this situation I have a modal dialog with
I have this situation: { float foo[10]; for (int i = 0; i <

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.