Getting a reference to the text box elements on an edit

2 posts, 0 answers
  1. Randy
    Randy avatar
    75 posts
    Member since:
    Jul 2009

    Posted 14 Apr 2017 Link to this post

    In my MVC grid, I'm trapping the Edit event as follows:

     .Events(events => events.Change("gridRowChange").Edit("onEdit"))

    In my onEdit() method that gets called when an edit is occurring, I'd like to get a reference to the text box elements for each editable cell in the row so that I can attach an onBlur event to some of them. How do I go about getting a reference to each text box element in the row being edited?

  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 18 Apr 2017 Link to this post

    Hello Randy,

    You could refer to the second example in the following help topic (the Edit event section), where you will find out how to get reference to specific editor:
    Hope this helps.

    Konstantin Dikov
    Telerik by Progress
    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