File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
2727 PinOnInitAndSelectionComponent
2828} from '../../test-utils/grid-samples.spec' ;
2929import { IgxGridComponent } from './grid.component' ;
30+ import { DropPosition } from '../moving/moving.service' ;
3031// tslint:disable: no-use-before-declare
3132
3233describe ( 'IgxGrid - Column Pinning #grid' , ( ) => {
@@ -585,7 +586,7 @@ describe('IgxGrid - Column Pinning #grid', () => {
585586 it ( 'should pin an unpinned column when drag/drop it among pinned columns.' , ( ) => {
586587
587588 // move 'ID' column to the pinned area
588- grid . moveColumn ( grid . getColumnByName ( 'ID' ) , grid . getColumnByName ( 'ContactName' ) ) ;
589+ grid . moveColumn ( grid . getColumnByName ( 'ID' ) , grid . getColumnByName ( 'ContactName' ) , DropPosition . BeforeDropTarget ) ;
589590 fix . detectChanges ( ) ;
590591
591592 // verify column is pinned at the correct place
You can’t perform that action at this time.
0 commit comments