@@ -7,7 +7,7 @@ import { IgrInputModule } from 'igniteui-react';
77import { IgrGrid , IgrPaginator , IgrColumn } from 'igniteui-react-grids' ;
88import { ComponentRenderer , WebGridDescriptionModule , WebPaginatorDescriptionModule , WebInputDescriptionModule } from 'igniteui-react-core' ;
99import NwindData from './NwindData.json' ;
10- import { IgrGridBaseDirective , IgrGridEditEventArgs } from 'igniteui-react-grids' ;
10+ import { IgrGridEditEventArgs } from 'igniteui-react-grids' ;
1111import { IgrCellTemplateContext } from 'igniteui-react-grids' ;
1212import { IgrInput } from 'igniteui-react' ;
1313
@@ -118,13 +118,13 @@ export default class Sample extends React.Component<any, any> {
118118 return this . _componentRenderer ;
119119 }
120120
121- public webGridOnEditEnter ( e : IgrGridEditEventArgs ) : void {
121+ public webGridOnEditEnter ( args : IgrGridEditEventArgs ) : void {
122122
123- const column = e . detail . owner . getColumnByVisibleIndex ( e . detail . cellID . columnID ) ;
123+ const column = args . detail . owner . getColumnByVisibleIndex ( args . detail . cellID . columnID ) ;
124124 if ( column . field === 'ReorderLevel' ) {
125125 setTimeout ( ( ) => {
126- const rowId = e . detail . cellID . rowID ;
127- const columnId = e . detail . cellID . columnID ;
126+ const rowId = args . detail . cellID . rowID ;
127+ const columnId = args . detail . cellID . columnID ;
128128 const inputTemplateId = `edit-cell-${ rowId } -${ columnId } ` ;
129129 const element = document . getElementById ( inputTemplateId ) ;
130130 element ?. focus ( ) ;
0 commit comments