@@ -2916,7 +2916,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
2916
2916
} ) ) ;
2917
2917
2918
2918
it ( 'Should move column left/right when clicking buttons.' , fakeAsync ( ( ) => {
2919
- grid . columns [ 2 ] . movable = true ;
2919
+ grid . moving = true ;
2920
2920
fix . detectChanges ( ) ;
2921
2921
2922
2922
GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'Downloads' ) ;
@@ -2957,7 +2957,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
2957
2957
expect ( grid . pinnedColumns . length ) . toBe ( 1 ) ;
2958
2958
2959
2959
const columnToMove = grid . unpinnedColumns [ grid . unpinnedColumns . length - 1 ] ;
2960
- columnToMove . movable = true ;
2960
+ grid . moving = true ;
2961
2961
2962
2962
GridFunctions . clickExcelFilterIconFromCode ( fix , grid , columnToMove . field ) ;
2963
2963
@@ -3415,11 +3415,10 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3415
3415
} ) ) ;
3416
3416
3417
3417
it ( 'Should move pinned column correctly by using move buttons' , fakeAsync ( ( ) => {
3418
+ grid . moving = true ;
3418
3419
const productNameCol = grid . getColumnByName ( 'ProductName' ) ;
3419
3420
const idCol = grid . getColumnByName ( 'ID' ) ;
3420
- productNameCol . movable = true ;
3421
3421
productNameCol . pinned = true ;
3422
- idCol . movable = true ;
3423
3422
idCol . pinned = true ;
3424
3423
fix . detectChanges ( ) ;
3425
3424
@@ -3460,11 +3459,10 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3460
3459
} ) ) ;
3461
3460
3462
3461
it ( 'Should move unpinned column correctly by using move buttons' , fakeAsync ( ( ) => {
3462
+ grid . moving = true ;
3463
3463
const productNameCol = grid . getColumnByName ( 'ProductName' ) ;
3464
3464
const downloadsCol = grid . getColumnByName ( 'Downloads' ) ;
3465
- productNameCol . movable = true ;
3466
3465
productNameCol . pinned = true ;
3467
- downloadsCol . movable = true ;
3468
3466
fix . detectChanges ( ) ;
3469
3467
expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 0 ) . innerText ) . toBe ( 'ProductName' ) ;
3470
3468
expect ( GridFunctions . getColumnHeaderTitleByIndex ( fix , 2 ) . innerText ) . toBe ( 'Downloads' ) ;
@@ -3559,7 +3557,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3559
3557
it ( 'display density is properly applied on the excel style filtering component' , fakeAsync ( ( ) => {
3560
3558
const column = grid . columns . find ( ( c ) => c . field === 'ProductName' ) ;
3561
3559
column . sortable = true ;
3562
- column . movable = true ;
3560
+ grid . moving = true ;
3563
3561
fix . detectChanges ( ) ;
3564
3562
3565
3563
// Open excel style filtering component and verify its display density
@@ -3623,7 +3621,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
3623
3621
it ( 'display density is properly applied on the excel style custom filtering dialog' , fakeAsync ( ( ) => {
3624
3622
const column = grid . columns . find ( ( c ) => c . field === 'ProductName' ) ;
3625
3623
column . sortable = true ;
3626
- column . movable = true ;
3624
+ grid . moving = true ;
3627
3625
fix . detectChanges ( ) ;
3628
3626
3629
3627
// Open excel style custom filtering dialog and verify its display density
@@ -5427,7 +5425,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
5427
5425
} ) ) ;
5428
5426
5429
5427
it ( 'Should move column left/right when clicking buttons from template' , fakeAsync ( ( ) => {
5430
- grid . columns [ 2 ] . movable = true ;
5428
+ grid . moving = true ;
5431
5429
fix . detectChanges ( ) ;
5432
5430
5433
5431
GridFunctions . clickExcelFilterIconFromCode ( fix , grid , 'Downloads' ) ;
@@ -5884,7 +5882,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
5884
5882
fix . detectChanges ( ) ;
5885
5883
// Make 'AnotherField' column movable.
5886
5884
const column = grid . columns . find ( ( c ) => c . field === 'AnotherField' ) ;
5887
- column . movable = true ;
5885
+ grid . moving = true ;
5888
5886
fix . detectChanges ( ) ;
5889
5887
5890
5888
// Pin the 'General Information' group by pinning its child 'ProductName' column.
0 commit comments