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

Support for entries per page

2 Answers 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Veteran
Praveen asked on 29 May 2020, 05:01 PM

Hi 

 

We are using Kendo grid in angular. Does it support configuring entries per page dynamically and then adjusting table height automatically?

 

Thanks

Angel

2 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 02 Jun 2020, 08:14 AM

Hello Angel,

The Grid pageSize option can be changed dynamically:

https://www.telerik.com/kendo-angular-ui/components/grid/api/GridComponent/#toc-pagesize

The Grid will be as high as its content out-of-the-box when the height option is not explicitly set.

Here is a runnable example demonstrating the described behavior:

https://stackblitz.com/edit/angular-sbqmqy?file=app/app.component.ts

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Praveen
Top achievements
Rank 1
Veteran
answered on 05 Jun 2020, 11:01 PM
Thank you very much. It worked.
Tags
Grid
Asked by
Praveen
Top achievements
Rank 1
Veteran
Answers by
Dimiter Topalov
Telerik team
Praveen
Top achievements
Rank 1
Veteran
Share this question
or