From b4090e54cb4fe3fd2b135827e275f6292ecafd0d Mon Sep 17 00:00:00 2001 From: Waldo Jaquith Date: Wed, 11 Nov 2015 11:43:55 -0500 Subject: [PATCH] Start to add support for a top scroll bar on the grid Towards #19. --- bower.json | 3 ++- public/grid/js/grid.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index dd37b750..9bd4807f 100644 --- a/bower.json +++ b/bower.json @@ -16,6 +16,7 @@ "handlebars": "~3.0.3", "underscore": "~1.8.3", "uri.js": "~1.15.1", - "components-font-awesome": "~4.3.0" + "components-font-awesome": "~4.3.0", + "doublescroll": "https://github.com/avianey/jqDoubleScroll.git" } } diff --git a/public/grid/js/grid.js b/public/grid/js/grid.js index 5b46657a..056c494e 100644 --- a/public/grid/js/grid.js +++ b/public/grid/js/grid.js @@ -4,6 +4,11 @@ callback: showInfo, parseNumbers: true }); + + $(document).ready(function() { + $('.table-responsive').doubleScroll(); + }); + });