Hello!
In our grid we are using a custom number input as follow:
<ng-container *ngIf="childCol.dataType === 'number'"> <ng-template igxCellEditor let-cell="cell"> <div class="igx-input-group igx-input-group--fluent full-width"> <ct-inputNumber #inputNumber [(ngModel)]="cell.editValue" mode="decimal" [minFractionDigits]="childCol.digitsInfo" [maxFractionDigits]="childCol.digitsInfo" ></ct-inputNumber> </div> </ng-template> </ng-container>
Now the problem is that cellEditDone doesn't get triggerd when using keyboard navigation. When using the mouse to navigate the correct events are triggered. I guess I need to add some properties to our component, but what do I need to add to make the keyboard navigation work?
Hello Erwin,
Thank you for posting in our community.
I have created a small sample trying to reproduce the described behavior. I am using custom number input as a cell editor. On my side everything works as expected and cellEditingDone event is emitted when I am using keyboard navigation.
Please test the sample on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve, please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated, please feel free to provide your own sample.
Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.
Regards,Viktor KombovEntry Level Software DeveloperInfragistics, Inc.
Thanks for the quick reply. A normal HTML <input> works indeed.
The problem we are facing is that we use a custom angular component that contains the HTML <input> element (the <ct-inputNumber> contains the HTML input component). So I think we need to add some input variables like "value" and "focus" to our custom component, but I cannot determine what we would have to add.
Does this explanation make any sense? Otherwise I will create a sample demonstrating this.