【发布时间】:2019-11-08 14:39:39
【问题描述】:
我目前正在使用材料表库,但似乎无法重命名操作字段?我需要你的帮助才能做到这一点。 图书馆:https://material-table.com/#/docs/features/localization 我找到了负责的属性:HEADER.ACTIONS
我尝试了以下解决方案,但没有结果。
提前谢谢你。感谢您的帮助。
{
title: 'Fragetyp',
field: 'followupType',
cellStyle: {
color: palette.tableBodyColor,
fontSize: '1.3rem'
},
render: (rowData) => <Subject />
},
{
title: 'actions',
field: 'header.actions',
cellStyle: {
color: palette.tableBodyColor,
fontSize: '1.3rem'
}
}
我想将“操作”字段标题名称重命名为另一种语言。
【问题讨论】: