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

These columns don't currently have unique values

1 Answer 158 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Itzy
Top achievements
Rank 1
Itzy asked on 15 Jul 2015, 09:03 PM

I get the error "These columns don't currently have unique values" when I have more than one NULL parent value in my list. The element Ids are all unique but I always get the error. Please help.

Sample data
parentId elementId  elementText
NULL     116            ​Text1
116         2108 ​         Text2
2108       2109          Text3
2108       2110           Text4
NULL      72              Text5
72           655             Text6
72           660              Text7
72 672

 

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 20 Jul 2015, 04:11 PM
Hello,

I am afraid I was not able to reproduce the issue.

Please find attached a sample project that demonstrates RadTreeView binding to a custom class and to hierarchical data that we get from the Northwind sample data base. Multiple root nodes have null ParentID values and this does not cause any error to be returned.
 
Regards,
Ivan Danchev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
TreeView
Asked by
Itzy
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or