Apply global format on columns based on a condition

Hi,

Is it possible to apply global format on some specific columns in an app, based on a condition, or do we really always need to specify the column name?
e.g. all int types of columns should be right-aligned

Note: I have already tried global column-styles
https://internal.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/global/Global.html#column-styles

Thank you,
Sanika

Hi, with column styles you probably did not mean the overall styles property?
Have you tried it like this in global:?

"styles": {
    "table": {
      "dataTypes": {
      
        "int": {
          "font": {
            "text-align": "right"
          }
        }
      }
    }
  }
1 Like