Duplicated
Last Updated: 02 Nov 2023 09:53 by ADMIN
Gil
Created on: 26 Oct 2023 10:11
Category: Kendo UI for jQuery
Type: Bug Report
0
Improper render of grid pager if initialization occurs while hidden

Hi,

I'm finding that the grid pager is improperly rendered when it's initialized while hidden. Regression was introduced in version 2023.2.829 (didn't check internal revisions).

I use this, for example, when using tab panels and switching tabs containing grids.

 

I've made a dojo that illustrates the issue, clicking the button "show grid" shows the previously hidden grid

https://dojo.telerik.com/AZADekem

 

Best,

Gil

Attached Files:
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Neli
Posted on: 02 Nov 2023 09:53

Hi Gil,

Thank you very much for reporting the behavior. 

There is already logged related issue in our Feedback Portal. Below you will find a link to the item:

https://feedback.telerik.com/aspnet-core-ui/1626545-the-pagesizes-option-is-hidden-when-the-grid-initializes-inside-a-hidden-container

In the item there is also a suggested workaround:

grid.pager._lastWidth = 30;
grid.resize(true);

I modified the provided Dojo example with the suggested workaround and linked here you will find the example containing the workaround - https://dojo.telerik.com/@NeliKondova/aLilOXum

In addition, I am posting a link to the related GutHub issue. As you can see in the item the bug fix is currently 'Ready for Test':

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

Still, the issue does not have a milestone set. Once the issue passes the needed tests it will also have marked milestone.

With the above said I will mark the current report as Duplicated. I have also added the example from your report in the issue in GitHub in order to describe the scenario.

I remain at your disposal in case you have any additional question on the matter.

Regards,
Neli
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources