ASP.NET Core MVC Controls | ComponentOne
Working with Controls / TreeMap / Work with TreeMap / Selection
In This Topic
    Selection
    In This Topic

    TreeMap lets you enable selection of its data items and groups. User can select a node and draw focus on it by simply clicking it. You need to set the SelectionMode property provided by the ChartBase class to either of the following values in the SelectionMode enumeration.

    The following code snippet shows how to set the SelectionMode property for a tree map control.

    In Code

    Selection.cshtml
    Copy Code
    // Implement Selection Mode
    selection-mode="Row"