Skip to content

Commit

Permalink
Merge pull request #11234 from IgniteUI/mdragnev/fix-9131
Browse files Browse the repository at this point in the history
fix(grid): Fix row edit dev sample
  • Loading branch information
zdrawku authored Mar 22, 2022
2 parents 31b8421 + 52923f1 commit 4815398
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/grid-row-edit/grid-row-edit-sample.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h4>Grid with rowEditing and with transactions</h4>
Row
</label>
<select [(ngModel)]="update_row">
<option *ngFor="let row of gridRowEditTransaction.data" [value]="row[gridRowEditTransaction.primaryKey]">{{
<option *ngFor="let row of data" [value]="row[gridRowEditTransaction.primaryKey]">{{
row[gridRowEditTransaction.primaryKey] }}</option>
</select>
</div>
Expand Down Expand Up @@ -102,8 +102,8 @@ <h4>Cancel Grid Edit Events</h4>
<igx-column width="100px" field="Discontinued2" header="PINNED DISCONTINUED" [dataType]="'boolean'" [hidden]="hideFlag" [pinned]="pinFlag" [sortable]="true"></igx-column>
<igx-column-group header="Column Group 1">
<igx-column width="100px" field="ReorderLevel2" header="ReorderLevel2" [dataType]="'number'" [hasSummary]="summaryFlag" [editable]="true"></igx-column>
<igx-column width="100px" field="UnitPrice" header="UnitPrice" [dataType]="'number'" [hasSummary]="summaryFlag" [hidden]="hideFlag" [editable]="true"></igx-column>
<igx-column width="100px" field="UnitPrice2" header="PINNED UNIT PRICE" [dataType]="'number'" [filterable]="true" [hasSummary]="summaryFlag" [pinned]="pinFlag" [sortable]="true" [editable]="true">
<igx-column width="100px" field="UnitPrice" header="UnitPrice" [dataType]="'string'" [hasSummary]="summaryFlag" [hidden]="hideFlag" [editable]="true"></igx-column>
<igx-column width="100px" field="UnitPrice2" header="PINNED UNIT PRICE" [dataType]="'string'" [filterable]="true" [hasSummary]="summaryFlag" [pinned]="pinFlag" [sortable]="true" [editable]="true">
</igx-column>
</igx-column-group>
<igx-column width="100px" field="UnitsInStock2" header="UnitsInStock2" [dataType]="'number'" [hasSummary]="summaryFlag" [editable]="true" [sortable]="true">
Expand Down

0 comments on commit 4815398

Please sign in to comment.