TreeList paging not update data-uid after read data

11 posts, 0 answers
  1. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 20 Sep 2018 Link to this post

    Hi,

    In TreeList i am enable Pageable and use dataBound

    When fire first dataBound, data-uid is actual

    then press refresh button and data-uid not updated in table

    https://dojo.telerik.com/IgUwuYAn

    In exemple first alert contains dataItem.LastName, then press button refresh, and dataItem not found, alert old data-uid

  2. Angel Petrov
    Admin
    Angel Petrov avatar
    1149 posts

    Posted 24 Sep 2018 Link to this post

    Hello,

    We need some additional time to investigate the issue. We will post our findings here as soon as possible.

    Regards,
    Angel Petrov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Stamo Gochev
    Admin
    Stamo Gochev avatar
    216 posts

    Posted 25 Sep 2018 Link to this post

    Hi,

    I am writing as a follow-up to the previous answer.

    The described scenario is indeed a bug and its status can be tracked in the following item:

    https://github.com/telerik/kendo-ui-core/issues/4537

    I have also updated your Telerik points due to your contribution to improving the suite.

    Regards,
    Stamo Gochev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  4. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 08 Jul 2019 in reply to Stamo Gochev Link to this post

    Hello, 

    When expand tree then data-uid not updated in table.

    Example: https://dojo.telerik.com/IgUwuYAn/17

  5. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 09 Jul 2019 in reply to Stamo Gochev Link to this post

    Hello, 

    Other problem with dataBound: https://dojo.telerik.com/IgUwuYAn/18

    In example, i am set color on dataBound: dataItem.Extension % 2 === 0 ? 'red' : ''.

    when collapse "Buffy" then "Skyler" is red, but must be black. I think not fired 'dataBound'

  6. Angel Petrov
    Admin
    Angel Petrov avatar
    1149 posts

    Posted 10 Jul 2019 Link to this post

    Hi,

    For the first sample it seems that the wrong service from the demos is targeted here is a corrected dojo.

    For the second sample we need some additional time to check the case. We will post here additional information as soon as possible.

    Regards,
    Angel Petrov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  7. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 10 Jul 2019 in reply to Angel Petrov Link to this post

    Hi, first sample is lazy load, and it's correct for TreeList, if remove pagable, it's work correctly. I am use it for big tree and thing about pagable.
  8. Angel Petrov
    Admin
    Angel Petrov avatar
    1149 posts

    Posted 11 Jul 2019 Link to this post

    Hello,

    I will revise the first sample as well. I hope that I will be able to quickly isolate the root cause of the issue.

    Regards,
    Angel Petrov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  9. Angel Petrov
    Admin
    Angel Petrov avatar
    1149 posts

    Posted 15 Jul 2019 Link to this post

    Hello,

    As promised I am getting back to you. 

    Now the first scenario is a limitation in the current implementation. Lazy loading is currently not supported with paging. In order for the pageable option to work the entire set of data should be extracted initially and available to the treelist datasource to operate.

    As for the second case it is due to the specific implementation of the treelist. It uses virtual DOM and the CSS changes are not applied to it(as they come from custom external logic). When the cell content gets replaced there is no logic which to clear the previously set styles(which is expected). In order to resolve the matter one should re-apply the styling as shown here

    Regards,
    Angel Petrov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  10. Konstantin
    Konstantin avatar
    39 posts
    Member since:
    Mar 2018

    Posted 16 Jul 2019 in reply to Angel Petrov Link to this post

    Hello,

    First, ok.

    Second, is it scecific implementation of the pagable treelist? For disabled pagable work correctly. May be some where skipped trigger('dataBound')?

    Your solution applied not immediately, like after timeout

  11. Angel Petrov
    Admin
    Angel Petrov avatar
    1149 posts

    Posted 17 Jul 2019 Link to this post

    Hello,

    Indeed the dataBound event should get fired. I have logged this as a bug. You can monitor our progress on the matter from here or from here.

    I have updated you account points for bringing our attention to this matter.

    Regards,
    Angel Petrov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top