"No records to display" is shown after pagable toolbar

4 posts, 0 answers
  1. Konstantin
    Konstantin avatar
    13 posts
    Member since:
    Mar 2018

    Posted 06 Mar Link to this post

    Hello,

    1. When enabled pageable and filter data to disaplay message "No records to display". Then message "No records to display" is shown after pagable toolbar

    https://dojo.telerik.com/IgUwuYAn/10

    2. While data not loaded size of tree is bigger then his container. Look this:

    https://dojo.telerik.com/IgUwuYAn/11

    3. When default expanded: false, page toolbar is not updated after read data.

    Try: expand some rows for add 2 pages, then press refresh, you will see 2 buttons of pages, but one row.

    https://dojo.telerik.com/IgUwuYAn/12

    In my app i have more then 1 page data, but i not see other pages buttons

  2. Martin
    Admin
    Martin avatar
    831 posts

    Posted 08 Mar Link to this post

    Hi,

    1. This seems to be an issue on our side. The "No records to display" item should be placed between the header and the pager and not below the pager. The issue is logged here:

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

    2. This behavior is caused by the status element that gets shown while data is being retrieved. The solution in this case would be to hide this element as demonstrated in this modified DoJo exmaple:

    https://dojo.telerik.com/@martinpz/ecAbEVAx

    3. The page size you have set is 25 and therefore to get page buttons for other pages you have to keep expanding items until at least 25 items are visible. Attached is an image of your dojo example showing how the pager looks like after I had expanded some more items.

    Regards,
    Martin
    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. Konstantin
    Konstantin avatar
    13 posts
    Member since:
    Mar 2018

    Posted 11 Mar in reply to Martin Link to this post

    Hello,

    2. On next refresh size is correct. Why do i need to hide something? Can any other element have style class 'k-status'? I think this solution can hide somthing important in other ui elements.

    3. Ok, items more then 25 and two pages, then press button 'refresh' and you see one record and 2 pages. I think pager is not refresh on requestEnd, it is only refresh on expand and collapse.

  4. Martin
    Admin
    Martin avatar
    831 posts

    Posted 11 Mar Link to this post

    Hello,

    2. This is just the easiest workaround. You can further scope the element/widget to which this workaround applies by adding widget's id to the css selector.
    https://dojo.telerik.com/@martinpz/ecAbEVAx/5

    I have consulted our developers about this issue and we decided to log this for additional research:
    https://github.com/telerik/kendo-ui-core/issues/4900

    3. I now confirm this is an issue with the TreeList pager and it is logged here:
    https://github.com/telerik/kendo-ui-core/issues/4901

    Also I would like to inform you that your Telerik point are updated.


    Regards,
    Martin
    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