@@ -2763,7 +2763,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
27632763        } ) ; 
27642764
27652765        this . hideOverlays ( ) ; 
2766-         const  args : IGridScrollEventArgs  =  {  direction : 'horizontal' ,  event : event ,  scrollPosition : this . headerContainer . scrollPosition    } ; 
2766+         const  args : IGridScrollEventArgs  =  {  direction : 'horizontal' ,  event : event ,  scrollPosition : this . headerContainer . scrollPosition  } ; 
27672767        this . onScroll . emit ( args ) ; 
27682768    } 
27692769
@@ -2953,7 +2953,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
29532953        const  destructor  =  takeUntil < any > ( this . destroy$ ) ; 
29542954        fromEvent ( this . nativeElement ,  'focusout' ) . pipe ( filter ( ( )  =>  ! ! this . navigation . activeNode ) ,  destructor ) . subscribe ( ( event )  =>  { 
29552955            if  ( ! this . crudService . cell  &&  ! ! this . navigation . activeNode  &&  ( event . target  ===  this . tbody . nativeElement  && 
2956-                 this . navigation . activeNode . row  >=  0  &&    this . navigation . activeNode . row  <  this . dataView . length ) 
2956+                 this . navigation . activeNode . row  >=  0  &&  this . navigation . activeNode . row  <  this . dataView . length ) 
29572957                ||  ( event . target  ===  this . theadRow . nativeElement  &&  this . navigation . activeNode . row  ===  - 1 ) 
29582958                ||  ( event . target  ===  this . tfoot . nativeElement  &&  this . navigation . activeNode . row  ===  this . dataView . length ) )  { 
29592959                this . navigation . activeNode  =  { }  as  IActiveNode ; 
@@ -3687,7 +3687,10 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
36873687    } 
36883688
36893689    public  getColumnByVisibleIndex ( index : number ) : IgxColumnComponent  { 
3690-         return  this . visibleColumns . find ( ( col )  =>  ! col . columnGroup  &&  ! col . columnLayout  &&  col . visibleIndex  ===  index ) ; 
3690+         return  this . visibleColumns . find ( ( col )  => 
3691+             ! col . columnGroup  &&  ! col . columnLayout  && 
3692+             col . visibleIndex  ===  index 
3693+         ) ; 
36913694    } 
36923695
36933696    /** 
@@ -3979,7 +3982,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
39793982        } 
39803983
39813984        if  ( ! target . pinned  &&  ! column . pinned )  { 
3982-            this . _reorderColumns ( column ,  target ,  pos ,  this . _unpinnedColumns ) ; 
3985+              this . _reorderColumns ( column ,  target ,  pos ,  this . _unpinnedColumns ) ; 
39833986        } 
39843987
39853988        this . _moveColumns ( column ,  target ,  pos ) ; 
@@ -4814,8 +4817,8 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
48144817    protected  getTheadRowHeight ( ) : number  { 
48154818        const  height  =  this . getComputedHeight ( this . theadRow . nativeElement ) ; 
48164819        return  ( ! this . allowFiltering  ||  ( this . allowFiltering  &&  this . filterMode  !==  FilterMode . quickFilter ) )  ?
4817-         height  -  this . getFilterCellHeight ( )  :
4818-         height ; 
4820+              height  -  this . getFilterCellHeight ( )  :
4821+              height ; 
48194822    } 
48204823
48214824    /** 
@@ -4826,7 +4829,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
48264829        if  ( this . showToolbar  &&  this . toolbarHtml  !=  null )  { 
48274830            const  height  =  this . getComputedHeight ( this . toolbarHtml . nativeElement ) ; 
48284831            toolbarHeight  =  this . toolbarHtml . nativeElement . firstElementChild  ?
4829-             height  : 0 ; 
4832+                  height  : 0 ; 
48304833        } 
48314834        return  toolbarHeight ; 
48324835    } 
@@ -4839,7 +4842,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
48394842        if  ( this . footer )  { 
48404843            const  height  =  this . getComputedHeight ( this . footer . nativeElement ) ; 
48414844            pagingHeight  =  this . footer . nativeElement . firstElementChild  ?
4842-             height  : 0 ; 
4845+                  height  : 0 ; 
48434846        } 
48444847        return  pagingHeight ; 
48454848    } 
@@ -5999,7 +6002,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
59996002            } 
60006003
60016004            if  ( this . dataView [ rowIndex ] . detailsData )  { 
6002-                 this . navigation . setActiveNode ( { row : rowIndex } ) ; 
6005+                 this . navigation . setActiveNode ( {   row : rowIndex   } ) ; 
60036006                this . cdr . detectChanges ( ) ; 
60046007            } 
60056008
@@ -6545,11 +6548,11 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
65456548        } 
65466549        if  ( commit )  { 
65476550            this . onRowAdded . subscribe ( rowData  =>  { 
6548-             // A check whether the row is in the current view 
6549-             const  index  =  this . dataView . findIndex ( data  =>  data  ===  rowData ) ; 
6550-             const  shouldScroll  =  this . navigation . shouldPerformVerticalScroll ( index ,  0 ) ; 
6551-             const  showIndex  =  shouldScroll  ? index  : - 1 ; 
6552-             this . showSnackbarFor ( showIndex ) ; 
6551+                  // A check whether the row is in the current view 
6552+                  const  index  =  this . dataView . findIndex ( data  =>  data  ===  rowData ) ; 
6553+                  const  shouldScroll  =  this . navigation . shouldPerformVerticalScroll ( index ,  0 ) ; 
6554+                  const  showIndex  =  shouldScroll  ? index  : - 1 ; 
6555+                  this . showSnackbarFor ( showIndex ) ; 
65536556            } ) ; 
65546557            this . gridAPI . submit_add_value ( ) ; 
65556558            this . gridAPI . addRowToData ( row . data ) ; 
0 commit comments