@@ -4,7 +4,7 @@ <h4>Grid without transactions</h4>
44 < igx-switch [(ngModel)] ="rowEditNoTransactions "> Row edit</ igx-switch >
55 < igx-grid [rowStyles] ="rowStyles " validationTrigger ='change ' (validationStatusChange) ='validationChange($event) ' (cellEdit) ='cellEdit($event) ' (formGroupCreated) ='formCreateHandler($event) ' #gridNoTransactions primaryKey ="ProductID " [data] ="data " [rowEditable] ="rowEditNoTransactions "
66 [width] ="'1200px' " [height] ="'800px' ">
7- < igx-column [field] ="" editable ='false '>
7+ < igx-column [field] ="" [ editable] ='false '>
88 < ng-template igxCell let-cell ="cell ">
99 {{cell.row.validation.status}}
1010 </ ng-template >
@@ -13,7 +13,7 @@ <h4>Grid without transactions</h4>
1313 < igx-column field ='ProductName ' appForbiddenName ='bob ' required [editable] ='true '>
1414 < ng-template igxCellEditor let-cell ="cell " let-value let-fc ='formControl '>
1515 < input [(ngModel)] ="cell.editValue "/>
16- </ ng-template >
16+ </ ng-template >
1717 < ng-template igxCellValidationError let-cell ='cell ' let-defaultErr ='defaultErrorTemplate '>
1818 < ng-container *ngTemplateOutlet ="defaultErr " >
1919 </ ng-container >
@@ -65,15 +65,14 @@ <h4>Grid with transactions</h4>
6565 < h4 > TreeGrid</ h4 >
6666 < igx-tree-grid #treegrid [data] ="treeData " primaryKey ="employeeID " [rowStyles] ="rowStyles "
6767 foreignKey ="PID " [width] ="'900px' " [height] ="'800px' " [rowEditable] ="true " [moving] ="true ">
68- < igx-column [field] ="" editable ='false '>
68+ < igx-column [field] ="" [ editable] ='false '>
6969 < ng-template igxCell let-cell ="cell ">
7070 {{cell.row.validation.status}}
7171 </ ng-template >
7272 </ igx-column >
7373 < igx-column *ngFor ="let c of treeColumns " [field] ="c.field " [dataType] ="c.dataType " [header] ="c.label "
74- [pinned] ="c.pinned " [groupable] ="false " [resizable] ="c.resizable " [width] ="c.width "
75- [sortable] ="true " [filterable] ="true " [editable] ="true " [hidden] ="c.hidden " [minWidth] ="c.minWidth "
76- [maxWidth] ="c.maxWidth " required >
74+ [groupable] ="false " [resizable] ="c.resizable " [width] ="c.width.toString() "
75+ [sortable] ="true " [filterable] ="true " [editable] ="true " required >
7776 </ igx-column >
7877 < igx-action-strip #actionstrip >
7978 < igx-grid-editing-actions [addRow] ="true " [addChild] ="actionstrip.context?.treeRow.level < 1 ">
@@ -87,10 +86,10 @@ <h4>TreeGrid</h4>
8786 < h4 > Hierarchical Grid</ h4 >
8887 < igx-hierarchical-grid #hgrid [data] ="hGridData " primaryKey ="EmployeeID "
8988 [width] ="'900px' " [height] ="'550px' " [rowEditable] ="true " [moving] ="true ">
90- < igx-column *ngFor ="let c of hColumns " [field] ="c.field " required editable ='true '>
89+ < igx-column *ngFor ="let c of hColumns " [field] ="c.field " required [ editable] ='true '>
9190 </ igx-column >
9291 < igx-row-island [key] ="'Orders' " [autoGenerate] ="false ">
93- < igx-column *ngFor ="let c of hColumns2 " [field] ="c.field " required appForbiddenName ='bob ' editable ='true '>
92+ < igx-column *ngFor ="let c of hColumns2 " [field] ="c.field " required appForbiddenName ='bob ' [ editable] ='true '>
9493 < ng-template igxCellValidationError let-cell ='cell ' let-defaultErr ='defaultErrorTemplate '>
9594 < ng-container *ngTemplateOutlet ="defaultErr " >
9695 </ ng-container >
0 commit comments