A RetroSearch Logo

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

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/localization/ below:

Website Navigation


JavaScript Grid - Localization | DHTMLX Suite 9 Docs

Localization

pro version only

The described functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.

You can apply different languages to the interface of dhtmlxGrid. You just need to translate the corresponding strings for Grid labels and apply a ready locale to the component.

Default locale​

The default locale for Grid looks like this:

const en = {
total: "Total",
groupText: "Group",
dropAreaTitle: "Group by:",
dropAreaPlaceholder: "Drag the column header here",
}
Custom locale​

To use a different locale, your need to:

const de = {
// language settings
};
dhx.i18n.setLocale("grid", de);
const grid = new dhx.Grid("grid_container");

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