EasyUI Forum
May 11, 2024, 04:28:55 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Localization / Datagrid  (Read 2328 times)
battlezad
Newbie
*
Posts: 44


View Profile
« 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?

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!