139
Views
2
Comments
Solved
[OutSystems Data Grid Web] In Japanese, the headers is garbled when saved configs and redisplayed.
outsystems-data-grid-web
Web icon
Forge asset by OutSystems

Hi there,

As shown in the attached capture, In Japanese, the headers is garbled when saved configs and redisplayed. Is there a solution?

Before redisplay


After redisplay


Best Regards,

Kosuke Ogawa

2019-09-20 06-40-44
Kosuke Ogawa
Solution

Self-solve with the following methods!

  1. Clone DataGridComponent (rename to DataGridComponentJp)
  2. Logic > Server Action > SaveGridConfigurations > TextToBinaryData > Encoding > "utf-8"
  3. Interface > GridScirpts > GridFramework > JavaScript > 
        loadConfig: function(gridId) {
            ...
            var url = "/DataGridComponentJp/rest/Configurations/...
            ...
        saveConfigHttpRequest: function(gridId, successMessage, errorMessage) {
            ...
            var url = "/DataGridComponentJp/rest/Configurations/...
            ...
        resetConfigHttpRequest: function(gridId, successMessage, errorMessage) {
            ...
            var url = "/DataGridComponentJp/rest/Configurations/...
  4. Publish & Manage Dependencies...


UserImage.jpg
Archit Yadav

If I change this to unicode, does this mean I will be able to view that datatype within the tables as well? Currently I am having issues as records with unicode hyphens are not displaying. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.