Apply global format on columns based on a condition


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

Thank you,

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