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

Select item programatically

2 Answers 84 Views
TreeMap and PivotMap
This is a migrated thread and some comments may be shown as answers.
Amige
Top achievements
Rank 1
Veteran
Amige asked on 01 Jul 2020, 04:56 PM
Is it possible to select an item programatically? After I bind the TreeMap control I would like to select a default item.

2 Answers, 1 is accepted

Sort by
0
Amige
Top achievements
Rank 1
Veteran
answered on 03 Jul 2020, 04:37 PM

I tried to set the SelectedItem property, I saw in this link:

https://docs.telerik.com/devtools/wpf/controls/radtreemap/selection

SelectedItem: Gets or sets the selected item.

But in the application when I try to set the property I get the error: SelectedItem is read-only.

0
Accepted
Martin Ivanov
Telerik team
answered on 06 Jul 2020, 03:06 PM

Hello Amige,

I am afraid that, currently, RadTreeMap doesn't support programmatic selection. The documentation of the SelectedItem property is incorrect. This will be updated. You can find the correct one in the API reference documentation of the RadTreeMapBase class.

Regards,
Martin Ivanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TreeMap and PivotMap
Asked by
Amige
Top achievements
Rank 1
Veteran
Answers by
Amige
Top achievements
Rank 1
Veteran
Martin Ivanov
Telerik team
Share this question
or