Merge pull request #1751 from shackbarth/24344-2
[xtuple] / lib / enyo-x / source / views / grid_box.js
index daedb9c..6a49dc5 100644 (file)
@@ -585,6 +585,11 @@ trailing:true, white:true, strict: false*/
       this._setProperty("value", value, "valueChanged");
 
       collection = value;
+      if (this.getEditableIndex() !== null) {
+        // do not try to sort while the user is entering data
+        return;
+      }
+
       if (orderBy && !collection.comparator) {
         collection.comparator = function (a, b) {
           var aval,