Skip to content

Commit

Permalink
friday rollout of bys stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewirts committed Aug 14, 2015
1 parent 5724f53 commit 8f9e905
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/bclys/fin-hypergrid.min.html

Large diffs are not rendered by default.

15 changes: 5 additions & 10 deletions examples/bclys/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,11 @@
}
});

jsonGrid.addFinEventListener('fin-click', function(e){
// var headerColCount = jsonGrid.getHeaderColumnCount();
// var headerRowCount = jsonGrid.getHeaderRowCount();
// var cell = e.detail.gridCell;
// if(cell.y === 0 && cell.x >= headerColCount) {
// jsonGrid.toggleSelectColumn(cell.x, e.detail.keys);
// } else if(cell.x === -1 && cell.y >= headerRowCount) {
// // -1 is the row numbers column
// jsonGrid.toggleSelectRow(cell.y, e.detail.keys);
// }
jsonGrid.addFinEventListener('fin-mousedown', function(e){
var cell = e.detail.gridCell;
if(cell.x === 7) {
jsonGrid.toggleSelectRow(cell.y, []);
}
});

jsonGrid.addFinEventListener('fin-button-pressed', function(e){
Expand Down

0 comments on commit 8f9e905

Please sign in to comment.