@@ -3,7 +3,7 @@ import { FormsModule } from '@angular/forms';
33
44import { SAMPLE_DATA } from '../shared/sample-data' ;
55
6- import { IgxButtonDirective , IgxButtonGroupComponent , IgxCellHeaderTemplateDirective , IgxCellTemplateDirective , IgxCollapsibleIndicatorTemplateDirective , IgxColumnComponent , IgxColumnGroupComponent , IgxGridComponent , IgxGridToolbarActionsComponent , IgxGridToolbarAdvancedFilteringComponent , IgxGridToolbarComponent , IgxGridToolbarHidingComponent , IgxGridToolbarPinningComponent , IgxIconComponent , IgxInputDirective , IgxInputGroupComponent , IgxLabelDirective , IgxPaginatorComponent } from 'igniteui-angular' ;
6+ import { ColumnPinningPosition , IgxButtonDirective , IgxButtonGroupComponent , IgxCellHeaderTemplateDirective , IgxCellTemplateDirective , IgxCollapsibleIndicatorTemplateDirective , IgxColumnComponent , IgxColumnGroupComponent , IgxGridComponent , IgxGridToolbarActionsComponent , IgxGridToolbarAdvancedFilteringComponent , IgxGridToolbarComponent , IgxGridToolbarHidingComponent , IgxGridToolbarPinningComponent , IgxIconComponent , IgxInputDirective , IgxInputGroupComponent , IgxLabelDirective , IgxPaginatorComponent } from 'igniteui-angular' ;
77
88@Component ( {
99 providers : [ ] ,
@@ -76,11 +76,11 @@ export class GridColumnMovingSampleComponent implements OnInit {
7676 { field : 'ID' , width : 150 , resizable : true , sortable : false , filterable : true , groupable : true ,
7777 summary : true , type : 'string' , pinned : false , hidden : true } ,
7878 { field : 'CompanyName' , width : 150 , resizable : true , sortable : true , filterable : true , groupable : true ,
79- summary : true , type : 'string' } ,
79+ summary : true , type : 'string' , pinned : true , pinningPosition : ColumnPinningPosition . End } ,
8080 { field : 'ContactName' , width : 150 , resizable : true , sortable : true , filterable : true , groupable : true ,
8181 summary : true , type : 'string' } ,
8282 { field : 'ContactTitle' , width : 150 , resizable : true , sortable : true , filterable : true , groupable : true ,
83- summary : true , type : 'string' } ,
83+ summary : true , type : 'string' , pinningPosition : ColumnPinningPosition . End } ,
8484 { field : 'Address' , width : 150 , resizable : true , sortable : true , filterable : true , groupable : true ,
8585 summary : true , type : 'string' } ,
8686 { field : 'City' , width : 150 , resizable : true , sortable : false , filterable : false , groupable : true ,
0 commit comments