DefaultButton on each row

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    468 posts
    Member since:
    Feb 2007

    Posted 28 Aug 2017 Link to this post



    Imagine I have the following scenario: RadGrid with a textbox and button on each row.

    How can I achieve that each button is DefaultButton (reacts on Enter key) when the user focuses in the row's textbox?


    Thanks for help,


  2. Magdalena
    Magdalena avatar
    487 posts

    Posted 30 Aug 2017 Link to this post

    Hello  Marc,

    The described scenario can be achieved by adding a custom JavaScript logic. You can add an event for the Enter key when a textbox is focused as the following. Then you can trigger a click on a button.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top