how to change Kendo grid pageable text(items) in Angular

2 posts, 0 answers
  1. Aruna
    Aruna avatar
    4 posts
    Member since:
    Sep 2020

    Posted 27 Sep Link to this post

    I nee to add translate option for items word
  2. Martin
    Admin
    Martin avatar
    253 posts

    Posted 29 Sep Link to this post

    Hello Aruna,

    All Grid customizable/translatable texts can be customized as described in the following sections of our documentation:

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

    https://www.telerik.com/kendo-angular-ui/components/globalization/localization/messages/

    The most straightforward approach is to utilize the custom messages component, and bind the respective options to the desired output strings:

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

    For example:

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

    The values, provided to each CustomMessages input property could be resulting from any expression, function call, pipe, etc., as long as the final result is the string to be displayed in the Grid.

    I hope this helps.

    Regards,
    Martin
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top