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

Changing the text of the paging area in the grid

2 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chamal
Top achievements
Rank 1
Veteran
Chamal asked on 28 Sep 2020, 02:00 PM
Is it possible to change the text of the paging area in the grid?  I'm using Angular so I need to change items text  something like "1-10 of 50 data".

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 29 Sep 2020, 10:02 AM

Hello Aruna,

The most straight-forward approach to customize the Grid messages (built-in texts) is to use the CustomMessages component, and provide the desired values:

https://www.telerik.com/kendo-angular-ui/components/grid/globalization/#toc-custom-messages

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

Alternatively, the developer can use the PagerTemplate, and provide all desired custom content:

https://www.telerik.com/kendo-angular-ui/components/grid/paging/#toc-pager-template

Here is a runnable example, demonstrating the first approach:

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

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

0
Chamal
Top achievements
Rank 1
Veteran
answered on 29 Sep 2020, 10:20 AM
Thank you..it is working for me
Tags
Grid
Asked by
Chamal
Top achievements
Rank 1
Veteran
Answers by
Dimiter Topalov
Telerik team
Chamal
Top achievements
Rank 1
Veteran
Share this question
or