Skip to content

Commit cb26e71

Browse files
committed
fix: new lines added
1 parent 40f92e6 commit cb26e71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/components/src/components/data-grid/data-grid.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,12 @@ export class DataGrid {
179179
this.applyResponsiveClasses = this.applyResponsiveClasses.bind(this);
180180
this.updateColumnStretching = this.updateColumnStretching.bind(this);
181181
}
182+
182183
componentWillLoad() {
183184
this.fieldsHandler();
184185
this.rowsHandler();
185186
}
187+
186188
componentDidRender() {
187189
if (this.needsAutoWidthParse) {
188190
this.calculateAutoWidths();
@@ -194,6 +196,7 @@ export class DataGrid {
194196
}
195197
});
196198
}
199+
197200
componentDidLoad() {
198201
this.addResizeObserver();
199202
}
@@ -212,6 +215,7 @@ export class DataGrid {
212215
this.resetSortingToggle();
213216
this.dataNeedsCheck = true;
214217
}
218+
215219
@Watch('rows')
216220
rowsHandler() {
217221
// Reset pagination to the last page of the new records if new records are less than previous.

0 commit comments

Comments
 (0)