icons in treelistview

4 posts, 1 answers
  1. rahaf
    rahaf avatar
    2 posts
    Member since:
    Aug 2008

    Posted 22 Jul 2010 Link to this post

    Hello,

    We're currently checking out your WPF TreeListView control. We currently use WinForms.
    I was wondering if it was possible to configure the TreeListView to display icons besides each node in the TreeListView, similar to what is shown in the attached image.

    A followup to this question is whether or not it is possible to Drag and Drop nodes and whether or not it is possible to customize individual cells in the TreeListView.

    Note - I saw there's another WPF control called TreeView which has the above capabilities, however, we need the TreeListView type control.

    Thanks.
    Rahaf
  2. Answer
    Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 22 Jul 2010 Link to this post

    Hi rahaf,

    Please find my answers in order:
    • You can use the GridViewImageColumn as you first column and display whatever image you want in that column.
    • Currently drag and drop is not built-in into the control. We will enable it officially in our next service pack release. It will also be available sooner in one of our next latest internal builds.

    Kind regards,
    Stefan Dobrev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. rahaf
    rahaf avatar
    2 posts
    Member since:
    Aug 2008

    Posted 22 Jul 2010 Link to this post

    Hello Stefan,

    Thank you for your prompt reply!

    I have a few more questions regarding the capabilities of the TreeListView:

    1. Is it possible to populate this control with unbound data? In our application the treelist is dynamically modified (i.e. nodes are added or removed) according to various system events. Once the TreeListView is populated, is it possible to modify it without the need to rebuild it from scratch?
    2. Our treelist may contain various in place editors, such as a progress bar. Does the TreeListView support this functionality of customizing individual cells editors?
    3. With regard to performance, how many nodes (or records) can the TreeListView handle without it compromising its performance?

    Thanks,

    Rahaf
  5. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 27 Jul 2010 Link to this post

    Hello rahaf,

    Here are my answers to your questions:
    • We do support unbound mode. You can check out this online example.
    • Check out the columns example for various options for editing. You can also always use a templated column.
    • We have done some performance profiling and the current implementation can handle large amounts of data. As always there are areas for improvements and corner cases we can optimize. If you hit so performance issues please do share them with us.

    Regards,
    Stefan Dobrev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top