Found a bug of TreeList latest version 2016

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

    Posted 22 Jun 2016 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

    2015 version



  2. Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 23 Jun 2016 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"

    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.


    Nikolay Rusev
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  3. Congyuan
    Congyuan avatar
    33 posts
    Member since:
    Nov 2011

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

    ok got you
Back to Top