How is get_currentlyEditedCell supposed to work?

2 posts, 0 answers
  1. Ashraf Sabry
    Ashraf Sabry avatar
    88 posts
    Member since:
    Jan 2011

    Posted 06 Nov 2013 Link to this post

    Its name is clear. But when I run the following in the developer tools' console:
    setTimeout(function(){
    console.log($find("ctl00_MainContent_gv").get_batchEditingManager().get_currentlyEditedCell());
    },5000);
    Then get the focus to a grid cell open for editing, I get null logged after the 5 seconds elapse.

    I'm creating a new functionality that requires getting the current edited cell at a keyup event handler. How to achieve this?
  2. Ashraf Sabry
    Ashraf Sabry avatar
    88 posts
    Member since:
    Jan 2011

    Posted 06 Nov 2013 Link to this post

    It seems that it doesn't work if the EditType property is set to Row on the BatchEditingSettings object.
    get_currentlyEditedRow should be used instead.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top