EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: battlezad on June 13, 2019, 04:20:58 AM



Title: Localization / Datagrid
Post by: battlezad on June 13, 2019, 04:20:58 AM
Hi,
we have localization json files, fi.json, en.json, ...

Structure is like

{
  "Login": {
    "login": "Login",
    "exit": "Exit"
  },
  "DeviceSettingsModal": {
    "save": "Save",
    "cancel": "Cancel"
  },
  "common": {
    "accept": "Accept",
    "add": "Add",
    "pageControls": {
      "label": "Page"
    }
  }
}

How could I read this stucture into datagrid where are columns for each language and each parameters language value should be editable?

pageControl part is tricky, how to implement that? I though of datagrid subgrid, but is it possible define when every row does not have subgrid?