This is a migrated thread and some comments may be shown as answers.

How is get_currentlyEditedCell supposed to work?

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
أشرف
Top achievements
Rank 1
أشرف asked on 06 Nov 2013, 09:30 AM
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?

1 Answer, 1 is accepted

Sort by
0
أشرف
Top achievements
Rank 1
answered on 06 Nov 2013, 10:33 AM
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.
Tags
Grid
Asked by
أشرف
Top achievements
Rank 1
Answers by
أشرف
Top achievements
Rank 1
Share this question
or