如何在 admin 的主网格中将标签从大写更改为小写

How to change labels from capital case to small case in the main grid of admin on rest

在常规情况下,我如何在其余主网格标签上设置管理员。因为我的应用程序需要网格中的列太多,并且所有这些看起来非常糟糕和混乱。我已经创建了一个 en.json 文件和它从那里获取值,如果 属性 是 channelType 并且我在 en.json 中给出了 "channelType": "Channel ",它在网格,但我希望它是常规大小写,例如 "Channel",我应该怎么做

您可以在 Datagrid 组件上使用 style 属性。参见 documentation

const styles = {
    header: {
        textTransform: 'none',
    }
}

<Datagrid styles={styles}>