File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
samples/grids/grid/editing-columns/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ export default class Sample extends React.Component<any, any> {
118118 return this . _componentRenderer ;
119119 }
120120
121- public webGridOnEditEnter ( s : IgrGridBaseDirective , e : IgrGridEditEventArgs ) : void {
121+ public webGridOnEditEnter ( e : IgrGridEditEventArgs ) : void {
122122
123- const column = s . getColumnByVisibleIndex ( e . detail . cellID . columnID ) ;
123+ const column = e . detail . owner . getColumnByVisibleIndex ( e . detail . cellID . columnID ) ;
124124 if ( column . field === 'ReorderLevel' ) {
125125 setTimeout ( ( ) => {
126126 const rowId = e . detail . cellID . rowID ;
@@ -145,7 +145,7 @@ export default class Sample extends React.Component<any, any> {
145145 id = { inputTemplateId }
146146 name = { cell . id . rowID }
147147 value = { cell . editValue }
148- inputOcurred = { ( s : any , e : any ) => {
148+ onInput = { ( e : CustomEvent < string > ) => {
149149 cell . editValue = e . detail ;
150150 } }
151151 style = { { width : "100%" } }
You can’t perform that action at this time.
0 commit comments