A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.telerik.com/kendo-react-ui/components/grid/rsc-mode/globalization below:

React Data Grid RSC Mode Globalization

KendoReact Grid Globalization in RSC Mode

Premium

The RSC mode of the KendoReact Grid supports globalization features to adapt the Grid to different languages and cultures. This article explains how to configure the Grid for internationalization and localization in RSC mode.

The RSC Mode of the Grid is part of KendoReact premium, an enterprise-grade UI library with 120+ free and premium components for building polished, performant apps. Test-drive all features with a free 30-day trial.Start Free Trial

The RSC globalization of the KendoReact Grid works a bit differently than in the client mode. In RSC mode, the Grid keeps track of all loaded locale data & localization messages, but only sends the currently active locale and messages to the client in order to reduce the network bandwidth and improve the performance of the application.

Loading locale & localization messages

Loading locales and localization messages is the same as with a regular client component, and is done by utilizing the load and loadMessages functions provided by the @progress/kendo-react-intl package. The difference is that in RSC mode, there is no React Context, so instead of wrapping in IntlProvider and LocalizationProvider the component accepts locale and language properties directly and handles loading the respective data in both the server & client side, and makes it available for all child components of the Grid.

The following example demonstrates how to load the locale and localization messages in an RSC mode Grid, handle changes and pass back the new values of locale and language to the Grid:

The key points in the implementation of the above examples are as follows:

Suggested Links

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4