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

Found a bug of TreeList latest version 2016

2 Answers 30 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Congyuan
Top achievements
Rank 1
Congyuan asked on 22 Jun 2016, 07:48 PM

The latest 2016 version treelist some time doesn't return the right data when apply the filter on column.

Here's the code which you can repeat that bug. When I apply a filter on column ClassSecurity start with "U", the data is incorrect. But the old 2015 version is good.

2016 version  http://dojo.telerik.com/@cchu/IwUso

2015 version  http://dojo.telerik.com/@cchu/uZADe

 

 

2 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 23 Jun 2016, 09:01 AM

Hello Congyuan,

 

Actually the 2016 version demonstrates proper operation of the widget rather than 2015 version. Here is the reason for the above statement:

 

1. If you run both examples without filtering both shows that there is only one root level item

2. When you filter:

 - 2015 shows 2 root items which is incorrect, there should be still only 1 root item

 - 2016 shows 1 root item, i.e the expected result. 

 

There is another issue - the data collection have items with duplicate id/xml_seq values:

 

parentId: "||10||000"
xml_seq: "||10||000||S"
ClassSecurity: "UNITEDHEALTH GRP INC COMMON"

parentId: "||10||000"
xml_seq: "||10||000||S"
ClassSecurity: "US Dollar Cash"

 

and when you filter only one of them shows up in the widget as it expects the id field to have unique values.

 

Regards,
Nikolay Rusev
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Congyuan
Top achievements
Rank 1
answered on 23 Jun 2016, 12:51 PM
ok got you
Tags
TreeList
Asked by
Congyuan
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Congyuan
Top achievements
Rank 1
Share this question
or