Treeview scrollbar and search

Posted by: kbj on 20 April 2018, 11:40 pm EST

    • Post Options:
    • Link

    Posted 20 April 2018, 11:40 pm EST - Updated 3 October 2022, 4:50 pm EST

    Hi folks,

    The behavior of the vertical scrollbar in the treeview does not work correctly. Clicking the open space between the thumb and up/down should move the “viewport” one page up or down. It currently moves to the first or last page.

    A great enhancement to the track area of the scrollbar would be, in multi-select mode, thin-bars showing the location of selected nodes as below:

    3 other questions

    1. How to identify the active selected node (Node 3 in this example)

    2. is there a way to search for the next or previous node with the Search Method?

    3. Where is the documentation for C1.Framework, and more specifically Elements (like TextElement or ImageElement)?

    Much thanks,

    Kingman

  • Posted 24 April 2018, 1:55 am EST

    Hello Kingman!

    “The behavior of the vertical scrollbar in the treeview does not work correctly.”

    • This has been reported to the development team. You will be notified about the fix once done [Tracking ID : 319003].

    “A great enhancement to the track area of the scrollbar would be, in multi-select mode, thin-bars showing the location of selected nodes”

    • I have forwarded this as feature enhancement request to the team. It will be added to the control if they find it feasible.

    “1.How to identify the active selected node?”

    • You can fetch the last node in selected nodes collection, like this :
    var node = c1TreeView1.SelectedNodes[c1TreeView1.SelectedNodes.Count() - 1];
    

    “2. is there a way to search for the next or previous node with the Search Method?”

    • This is not possible with Search method. However, I have escalated this to the team, if they can do something in this.

    “3.Where is the documentation for C1.Framework, and more specifically Elements (like TextElement or ImageElement)?”

    Best regards,

    Meenakshi

  • Posted 21 May 2018, 5:06 pm EST

    This is to notify you, the issue related with incorrect behaviour of vertical scrollbar has been fixed in the latest builds. Please update using C1Live and check.

    Thanks,

    Meenakshi

  • Posted 2 December 2018, 10:21 pm EST

    Hi

    > “is there a way to search for the next or previous node with the Search Method?”

    • In the latest 2018v3 builds, you can use the new SearchAll method instead of Search method.

      This SearchAll method sets found nodes as selected (use SelectionMode as Multi) and you can get these from SelectedNodes property.

    You can either download the latest builds from here: http://prerelease.componentone.com/dotnet40/c1winforms/2018-t3/C1WinForms.4_4.0.20183.338.zip, or update using C1Live utility.

    Regards,

    Meenakshi

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels