File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/components/src/components/data-grid Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -179,10 +179,12 @@ export class DataGrid {
179
179
this . applyResponsiveClasses = this . applyResponsiveClasses . bind ( this ) ;
180
180
this . updateColumnStretching = this . updateColumnStretching . bind ( this ) ;
181
181
}
182
+
182
183
componentWillLoad ( ) {
183
184
this . fieldsHandler ( ) ;
184
185
this . rowsHandler ( ) ;
185
186
}
187
+
186
188
componentDidRender ( ) {
187
189
if ( this . needsAutoWidthParse ) {
188
190
this . calculateAutoWidths ( ) ;
@@ -194,6 +196,7 @@ export class DataGrid {
194
196
}
195
197
} ) ;
196
198
}
199
+
197
200
componentDidLoad ( ) {
198
201
this . addResizeObserver ( ) ;
199
202
}
@@ -212,6 +215,7 @@ export class DataGrid {
212
215
this . resetSortingToggle ( ) ;
213
216
this . dataNeedsCheck = true ;
214
217
}
218
+
215
219
@Watch ( 'rows' )
216
220
rowsHandler ( ) {
217
221
// Reset pagination to the last page of the new records if new records are less than previous.
You can’t perform that action at this time.
0 commit comments