File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class DataTableBodyRowComponent implements DoCheck {
118
118
_offsetX : number ;
119
119
_columns : any [ ] ;
120
120
_innerWidth : number ;
121
- _groupStyles = {
121
+ _groupStyles : { [ prop : string ] : { } } = {
122
122
left : { } ,
123
123
center : { } ,
124
124
right : { }
@@ -150,9 +150,9 @@ export class DataTableBodyRowComponent implements DoCheck {
150
150
}
151
151
152
152
buildStylesByGroup ( ) {
153
- this . _groupStyles [ ' left' ] = this . calcStylesByGroup ( 'left' ) ;
154
- this . _groupStyles [ ' center' ] = this . calcStylesByGroup ( 'center' ) ;
155
- this . _groupStyles [ ' right' ] = this . calcStylesByGroup ( 'right' ) ;
153
+ this . _groupStyles . left = this . calcStylesByGroup ( 'left' ) ;
154
+ this . _groupStyles . center = this . calcStylesByGroup ( 'center' ) ;
155
+ this . _groupStyles . right = this . calcStylesByGroup ( 'right' ) ;
156
156
this . cd . markForCheck ( ) ;
157
157
}
158
158
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export class DataTableHeaderComponent {
134
134
_offsetX : number ;
135
135
_columns : any [ ] ;
136
136
_headerHeight : string ;
137
- _styleByGroup = {
137
+ _styleByGroup : { [ prop : string ] : { } } = {
138
138
left : { } ,
139
139
center : { } ,
140
140
right : { }
@@ -277,9 +277,9 @@ export class DataTableHeaderComponent {
277
277
}
278
278
279
279
setStylesByGroup ( ) {
280
- this . _styleByGroup [ ' left' ] = this . calcStylesByGroup ( 'left' ) ;
281
- this . _styleByGroup [ ' center' ] = this . calcStylesByGroup ( 'center' ) ;
282
- this . _styleByGroup [ ' right' ] = this . calcStylesByGroup ( 'right' ) ;
280
+ this . _styleByGroup . left = this . calcStylesByGroup ( 'left' ) ;
281
+ this . _styleByGroup . center = this . calcStylesByGroup ( 'center' ) ;
282
+ this . _styleByGroup . right = this . calcStylesByGroup ( 'right' ) ;
283
283
this . cd . detectChanges ( ) ;
284
284
}
285
285
You can’t perform that action at this time.
0 commit comments