Trigger next row behaviour from custom control

Posted by: seaninglis on 25 July 2024, 8:20 pm EST

  • Posted 25 July 2024, 8:20 pm EST

    We have a flexgrid in an Angular 15+ project that almost exclusively uses custom edit controls, and has these properties set:

        [keyActionTab]="KeyAction.CycleEditable"
        [keyActionEnter]="KeyAction.MoveDown"
    

    The tab behaviour works as we’d like but enter key behaviour is ignored.

    I assume I have to raise an event from the custom control and then call a method / event on the flexgrid to ask to move down a row?

    Is there a modern example of this?

  • Posted 26 July 2024, 3:23 am EST

    Hello,

    I couldn’t reproduce the issue on my end. I tried adding a few editors, but the Enter and Tab keys functioned as expected.

    Could you please provide more details about the custom edit controls you are using and how they are bound to the grid cells? This information will help us understand your use case better and provide more accurate assistance.

    I used this sample to verify the behavior. Feel free to update it to reproduce the issue:https://stackblitz.com/edit/angular-ivy-i296ad?file=src%2Fapp%2Fapp.component.html

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels