@@ -1164,6 +1164,7 @@ export default {
11641164 dropdownPrefixCls,
11651165 contextLocale,
11661166 getPopupContainer : contextGetPopupContainer ,
1167+ transformCellText,
11671168 } ) {
11681169 const { showHeader, locale, getPopupContainer, ...restProps } = getOptionProps ( this ) ;
11691170 const data = this . getCurrentPageData ( ) ;
@@ -1220,6 +1221,7 @@ export default {
12201221 expandIconColumnIndex,
12211222 expandIconAsCell,
12221223 emptyText : mergedLocale . emptyText ,
1224+ transformCellText,
12231225 } ,
12241226 on : getListeners ( this ) ,
12251227 class : classString ,
@@ -1230,10 +1232,18 @@ export default {
12301232 } ,
12311233
12321234 render ( ) {
1233- const { prefixCls : customizePrefixCls , dropdownPrefixCls : customizeDropdownPrefixCls } = this ;
1235+ const {
1236+ prefixCls : customizePrefixCls ,
1237+ dropdownPrefixCls : customizeDropdownPrefixCls ,
1238+ transformCellText : customizeTransformCellText ,
1239+ } = this ;
12341240 const data = this . getCurrentPageData ( ) ;
1235- const { getPopupContainer : getContextPopupContainer } = this . configProvider ;
1241+ const {
1242+ getPopupContainer : getContextPopupContainer ,
1243+ transformCellText : tct ,
1244+ } = this . configProvider ;
12361245 const getPopupContainer = this . getPopupContainer || getContextPopupContainer ;
1246+ const transformCellText = customizeTransformCellText || tct ;
12371247 let loading = this . loading ;
12381248 if ( typeof loading === 'boolean' ) {
12391249 loading = {
@@ -1263,6 +1273,7 @@ export default {
12631273 dropdownPrefixCls,
12641274 contextLocale : locale ,
12651275 getPopupContainer,
1276+ transformCellText,
12661277 } )
12671278 }
12681279 />
0 commit comments