@@ -124,6 +124,7 @@ export class TemplateParserService {
124124 const thOptions : TableCellOptions = TemplateParserService . templateContext ( key , thTemplate , this . columnOptions ) ;
125125 const stickyLeft : boolean = getValidHtmlBooleanAttribute ( column . stickyLeft ) ;
126126 const stickyRight : boolean = getValidHtmlBooleanAttribute ( column . stickyRight ) ;
127+ const isCustomKey : boolean = getValidHtmlBooleanAttribute ( column . customKey ) ;
127128 const canBeAddDraggable : boolean = ! ( stickyLeft || stickyRight ) ;
128129 const isModel : boolean = this . keyMap [ key ] ;
129130
@@ -136,7 +137,7 @@ export class TemplateParserService {
136137 td : TemplateParserService . templateContext ( key , tdTemplate , this . columnOptions ) ,
137138 stickyLeft : getValidHtmlBooleanAttribute ( column . stickyLeft ) ,
138139 stickyRight : getValidHtmlBooleanAttribute ( column . stickyRight ) ,
139- customColumn : getValidHtmlBooleanAttribute ( column . customKey ) ,
140+ customColumn : isCustomKey ,
140141 width : getValidPredicate ( column . width , this . columnOptions . width ) ,
141142 cssClass : getValidPredicate ( column . cssClass , this . columnOptions . cssClass ) || [ ] ,
142143 cssStyle : getValidPredicate ( column . cssStyle , this . columnOptions . cssStyle ) || [ ] ,
@@ -154,7 +155,10 @@ export class TemplateParserService {
154155 ? getValidHtmlBooleanAttribute ( getValidPredicate ( column . isDraggable , this . columnOptions . isDraggable ) )
155156 : false ,
156157 overflowTooltip : getValidHtmlBooleanAttribute (
157- getValidPredicate ( this . columnOptions . overflowTooltip , column . overflowTooltip )
158+ getValidPredicate (
159+ this . columnOptions . overflowTooltip ,
160+ typeof column . overflowTooltip === 'boolean' ? column . overflowTooltip : ! isCustomKey
161+ )
158162 ) ,
159163 th : {
160164 ...thOptions ,
0 commit comments