Merge pull request #1071 from jdfreder/movecellfocus

Focus selected cell after move.
This commit is contained in:
Min RK 2016-02-10 14:28:28 +01:00
commit 8d4a8ee0c7

View File

@ -877,6 +877,7 @@ define(function (require) {
tomove.detach();
pivot.after(tomove);
this.get_cell(selected-1).focus_cell();
this.select(anchored - 1);
this.select(selected - 1, false);
};
@ -903,6 +904,7 @@ define(function (require) {
tomove.detach();
pivot.before(tomove);
this.get_cell(selected+1).focus_cell();
this.select(first);
this.select(anchored + 1);
this.select(selected + 1, false);