File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1111< ng-template #inlineEditor let-cell ="cell ">
1212 < ng-container *ngIf ="column.dataType === 'string' ">
1313 < igx-input-group displayDensity ="compact ">
14- < input igxInput [value] ="editValue " (input) ="editValue = $event.target.value " [igxFocus] ="true " />
14+ < input igxInput [value] ="editValue " (input) ="editValue = $event.target.value " [igxFocus] ="focused " />
1515 </ igx-input-group >
1616 </ ng-container >
1717 < ng-container *ngIf ="column.dataType === 'number' ">
1818 < igx-input-group displayDensity ="compact ">
19- < input igxInput [value] ="editValue " (input) ="editValue = $event.target.value " [igxFocus] ="true " type ="number ">
19+ < input igxInput [value] ="editValue " (input) ="editValue = $event.target.value " [igxFocus] ="focused " type ="number ">
2020 </ igx-input-group >
2121 </ ng-container >
2222 < ng-container *ngIf ="column.dataType === 'boolean' ">
2323 < igx-checkbox (change) ="editValue = $event.checked " [value] ="editValue " [checked] ="editValue "
24- [igxFocus] ="true " [disableRipple] ="true "> </ igx-checkbox >
24+ [igxFocus] ="focused " [disableRipple] ="true "> </ igx-checkbox >
2525 </ ng-container >
2626 < ng-container *ngIf ="column.dataType === 'date' ">
2727 < igx-date-picker [style.width.%] ="100 " [outlet] ="grid.outletDirective " mode ="dropdown "
28- [locale] ="grid.locale " [(value)] ="editValue " [igxFocus] ="true " [labelVisibility] ="false ">
28+ [locale] ="grid.locale " [(value)] ="editValue " [igxFocus] ="focused " [labelVisibility] ="false ">
2929 </ igx-date-picker >
3030 </ ng-container >
3131</ ng-template >
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ export class IgxGridCRUDService {
161161
162162 begin ( cell ) : void {
163163 const newCell = this . createCell ( cell ) ;
164+ cell . focused = true ;
164165 newCell . primaryKey = this . primaryKey ;
165166 const args = {
166167 cellID : newCell . id ,
You can’t perform that action at this time.
0 commit comments