Skip to content

Commit

Permalink
turned off editing of qtree
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewirts committed Apr 15, 2015
1 parent 496c749 commit bb38096
Show file tree
Hide file tree
Showing 38 changed files with 92 additions and 9 deletions.
51 changes: 46 additions & 5 deletions fin-hypergrid.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -21323,6 +21323,7 @@






</style>
Expand Down Expand Up @@ -22407,6 +22408,7 @@






</style>
Expand Down Expand Up @@ -22637,6 +22639,7 @@






</style>
Expand Down Expand Up @@ -22921,6 +22924,7 @@






</style>
Expand Down Expand Up @@ -23205,6 +23209,7 @@






</style>
Expand Down Expand Up @@ -23529,6 +23534,7 @@




</style>
</template>
<script>'use strict';
Expand Down Expand Up @@ -23625,6 +23631,7 @@






</style>
Expand Down Expand Up @@ -23792,6 +23799,7 @@






</style>
Expand Down Expand Up @@ -24434,6 +24442,7 @@






</style>
Expand Down Expand Up @@ -24708,6 +24717,7 @@






</style>
Expand Down Expand Up @@ -24886,6 +24896,7 @@






</style>
Expand Down Expand Up @@ -25058,6 +25069,7 @@






</style>
Expand Down Expand Up @@ -25244,6 +25256,7 @@






</style>
Expand Down Expand Up @@ -25547,6 +25560,7 @@






</style>
Expand Down Expand Up @@ -26170,6 +26184,7 @@






</style>
Expand Down Expand Up @@ -26309,6 +26324,7 @@






</style>
Expand Down Expand Up @@ -26395,6 +26411,7 @@






</style>
Expand Down Expand Up @@ -27218,6 +27235,7 @@






</style>
Expand Down Expand Up @@ -27400,6 +27418,7 @@






</style>
Expand Down Expand Up @@ -27841,6 +27860,7 @@






</style>
Expand Down Expand Up @@ -28441,6 +28461,7 @@






</style>
Expand Down Expand Up @@ -28825,6 +28846,7 @@






</style>
Expand Down Expand Up @@ -29240,6 +29262,7 @@






</style>
Expand Down Expand Up @@ -29840,7 +29863,12 @@

highlightCellOnHover: function(isColumnHovered, isRowHovered) {
return isRowHovered;
}
},

getCellEditorAt: function(x, y) {
noop(x, y);
return null;
},

});

Expand All @@ -29860,6 +29888,7 @@




</style>
</template>
<script>'use strict';
Expand Down Expand Up @@ -30169,6 +30198,7 @@






</style>
Expand Down Expand Up @@ -30452,6 +30482,7 @@






</style>
Expand Down Expand Up @@ -30681,6 +30712,7 @@






</style>
Expand Down Expand Up @@ -30847,6 +30879,7 @@






</style>
Expand Down Expand Up @@ -31016,6 +31049,7 @@






</style>
Expand Down Expand Up @@ -31179,6 +31213,7 @@






</style>
Expand Down Expand Up @@ -31342,6 +31377,7 @@






</style>
Expand Down Expand Up @@ -31505,6 +31541,7 @@






</style>
Expand Down Expand Up @@ -31733,6 +31770,7 @@






</style>
Expand Down Expand Up @@ -33239,7 +33277,6 @@
if (newValue === oldValue) {
return;
}
this.setHScrollValue(newValue);
},

/**
Expand Down Expand Up @@ -33356,7 +33393,8 @@
* @method setVScrollValue(y)
*/
setVScrollValue: function(y) {
y = Math.max(0, y);
var max = this.sbVScrlCfg.rangeStop;
y = Math.min(max, Math.max(0, y));
var self = this;
this.getBehavior()._setScrollPositionY(y);
var oldY = this.vScrlValue;
Expand Down Expand Up @@ -33387,7 +33425,8 @@
* @method setHScrollValue(x)
*/
setHScrollValue: function(x) {
x = Math.max(0, x);
var max = this.sbHScrlCfg.rangeStop;
x = Math.min(max, Math.max(0, x));
var self = this;
this.getBehavior()._setScrollPositionX(x);
var oldX = this.hScrlValue;
Expand Down Expand Up @@ -33869,7 +33908,9 @@
var mY = this.getVScrollValue() + gridCell.y - fixedRowCount;

var editor = this.getCellEditorAt(mX, mY);
this.editAt(editor, event);
if (editor) {
this.editAt(editor, event);
}
},

getCellEditorAt: function(x, y) {
Expand Down
2 changes: 1 addition & 1 deletion fin-hypergrid.min.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-gol.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-in-memory.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-json.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-q.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






1 change: 1 addition & 0 deletions polymer/css/behaviors/fin-hypergrid-behavior-qtree.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@




Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@






Loading

0 comments on commit bb38096

Please sign in to comment.