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

"No records to display" is shown after pagable toolbar

3 Answers 106 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Konstantin
Top achievements
Rank 1
Konstantin asked on 06 Mar 2019, 11:46 AM

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

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Mar 2019, 11:46 AM
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.
0
Konstantin
Top achievements
Rank 1
answered on 11 Mar 2019, 08:43 AM

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.

0
Martin
Telerik team
answered on 11 Mar 2019, 02:52 PM
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.
Tags
TreeList
Asked by
Konstantin
Top achievements
Rank 1
Answers by
Martin
Telerik team
Konstantin
Top achievements
Rank 1
Share this question
or