This is a migrated thread and some comments may be shown as answers.

More functionality on Listview

1 Answer 117 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 07 Apr 2012, 07:51 AM
Hi,

I have project in which I have hierarchical data to show. It's basically device controlling project in which multiple first layer parent device which has multiple child device/second layer parent (which again has multiple child / next layer parent so on). I want to display this hierarchical data on my home page which can collapse/expand every parent. Along with the display I want to add more item to every parent (like checkbox in parent header to select/deselect all child of that parent).

The Listview is showing this kind of data but up to one layer only and it not allow me to add other control to header. Can anyone suggest how can I accomplish this?

I want to display data like below:

Parent Header (with some more control like checkbox)
    child1     child2    child3   child4    child5 - horizontally align (all child has checkbox to select/deselect and Small icon image)
    Second layer parent (with some more control like checkbox)
         child1   child2    child3   child4 - same as above
Parent Header
    Multiple Childs
    Second Layer Parent
         Multiple Childs


Thnaks,
Ron

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 11 Apr 2012, 04:41 PM
Hi Ron,

Thank you for writing.

To achieve your requirements, you can try using RadTreeView with custom nodes. I have attached a small sample project, which demonstrates how you can implement this. Additionally, there is a demo called Custom Nodes in our Examples application, which might also help you in achieving your scenario.

I hope you find this useful. Should you need further help, I will be glad to assist you.

Greetings,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Ron
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or