Skip to content

Commit

Permalink
chore(*): Fixing lint in sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
MKirova authored and MKirova committed Nov 12, 2024
1 parent 57bc021 commit b7eded0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app/grid-re-create/grid-re-create.sample.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div *ngIf="create">
<igx-grid height="300px">
<igx-grid [moving]="true" height="300px">
<igx-column [field]="'columnA'"></igx-column>
<igx-column [field]="'columnB'"></igx-column>
</igx-grid>
Expand Down
14 changes: 7 additions & 7 deletions src/app/grid-re-create/grid-re-create.sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ export class GridRecreateSampleComponent implements OnInit {
public create = false;

public ngOnInit(): void {
// new Array(100).fill({}).forEach((_, i) => {
// this.data.push({
// id: i,
// columnA: `A ${i}`,
// columnB: `B ${i}`,
// });
// });
new Array(100).fill({}).forEach((_, i) => {
this.data.push({
id: i,
columnA: `A ${i}`,
columnB: `B ${i}`,
});
});
}

}

0 comments on commit b7eded0

Please sign in to comment.