@@ -260,7 +260,7 @@ export abstract class IgxGridBaseDirective implements GridType,
260260 * ```
261261 */
262262 @Input ( )
263- public emptyGridTemplate : TemplateRef < void > ;
263+ public emptyGridTemplate : TemplateRef < IgxGridTemplateContext > ;
264264
265265 /**
266266 * Gets/Sets a custom template for adding row UI when grid is empty.
@@ -282,7 +282,7 @@ export abstract class IgxGridBaseDirective implements GridType,
282282 * ```
283283 */
284284 @Input ( )
285- public loadingGridTemplate : TemplateRef < void > ;
285+ public loadingGridTemplate : TemplateRef < IgxGridTemplateContext > ;
286286
287287 /**
288288 * Get/Set IgxSummaryRow height
@@ -3765,7 +3765,7 @@ export abstract class IgxGridBaseDirective implements GridType,
37653765 this . _setupListeners ( ) ;
37663766 this . rowListDiffer = this . differs . find ( [ ] ) . create ( null ) ;
37673767 // compare based on field, not on object ref.
3768- this . columnListDiffer = this . differs . find ( [ ] ) . create ( ( index , col : ColumnType ) => col . field ) ;
3768+ this . columnListDiffer = this . differs . find ( [ ] ) . create ( ( _index , col : ColumnType ) => col . field ) ;
37693769 this . calcWidth = this . width && this . width . indexOf ( '%' ) === - 1 ? parseInt ( this . width , 10 ) : 0 ;
37703770 this . gridComputedStyles = this . document . defaultView . getComputedStyle ( this . nativeElement ) ;
37713771 }
@@ -6091,7 +6091,7 @@ export abstract class IgxGridBaseDirective implements GridType,
60916091 /**
60926092 * @hidden @internal
60936093 */
6094- public trackColumnChanges ( index , col ) {
6094+ public trackColumnChanges ( _index , col ) {
60956095 return col . field + col . _calcWidth ;
60966096 }
60976097
@@ -7615,7 +7615,7 @@ export abstract class IgxGridBaseDirective implements GridType,
76157615 }
76167616 // find next/prev record that is editable.
76177617 const nextRowIndex = previous ? this . findPrevEditableDataRowIndex ( currentRowIndex ) :
7618- this . dataView . findIndex ( ( rec , index ) =>
7618+ this . dataView . findIndex ( ( _rec , index ) =>
76197619 index > resolvedIndex && this . isEditableDataRecordAtIndex ( index ) ) ;
76207620 const nextDataIndex = this . getDataIndex ( nextRowIndex ) ;
76217621 return nextDataIndex !== - 1 ? nextDataIndex : currentRowIndex ;
0 commit comments