@@ -1164,6 +1164,7 @@ export default {
1164
1164
dropdownPrefixCls,
1165
1165
contextLocale,
1166
1166
getPopupContainer : contextGetPopupContainer ,
1167
+ transformCellText,
1167
1168
} ) {
1168
1169
const { showHeader, locale, getPopupContainer, ...restProps } = getOptionProps ( this ) ;
1169
1170
const data = this . getCurrentPageData ( ) ;
@@ -1220,6 +1221,7 @@ export default {
1220
1221
expandIconColumnIndex,
1221
1222
expandIconAsCell,
1222
1223
emptyText : mergedLocale . emptyText ,
1224
+ transformCellText,
1223
1225
} ,
1224
1226
on : getListeners ( this ) ,
1225
1227
class : classString ,
@@ -1230,10 +1232,18 @@ export default {
1230
1232
} ,
1231
1233
1232
1234
render ( ) {
1233
- const { prefixCls : customizePrefixCls , dropdownPrefixCls : customizeDropdownPrefixCls } = this ;
1235
+ const {
1236
+ prefixCls : customizePrefixCls ,
1237
+ dropdownPrefixCls : customizeDropdownPrefixCls ,
1238
+ transformCellText : customizeTransformCellText ,
1239
+ } = this ;
1234
1240
const data = this . getCurrentPageData ( ) ;
1235
- const { getPopupContainer : getContextPopupContainer } = this . configProvider ;
1241
+ const {
1242
+ getPopupContainer : getContextPopupContainer ,
1243
+ transformCellText : tct ,
1244
+ } = this . configProvider ;
1236
1245
const getPopupContainer = this . getPopupContainer || getContextPopupContainer ;
1246
+ const transformCellText = customizeTransformCellText || tct ;
1237
1247
let loading = this . loading ;
1238
1248
if ( typeof loading === 'boolean' ) {
1239
1249
loading = {
@@ -1263,6 +1273,7 @@ export default {
1263
1273
dropdownPrefixCls,
1264
1274
contextLocale : locale ,
1265
1275
getPopupContainer,
1276
+ transformCellText,
1266
1277
} )
1267
1278
}
1268
1279
/>
0 commit comments