Found a bug of TreeList latest version 2016

3 posts, 0 answers
  1. Congyuan
    Congyuan avatar
    32 posts
    Member since:
    Nov 2011

    Posted 22 Jun Link to this post

    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. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 23 Jun Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
  4. Congyuan
    Congyuan avatar
    32 posts
    Member since:
    Nov 2011

    Posted 23 Jun in reply to Nikolay Rusev Link to this post

    ok got you
Back to Top