diff options
author | Michael Leibman <michael.leibman@gmail.com> | 2013-08-10 13:08:51 -0700 |
---|---|---|
committer | Michael Leibman <michael.leibman@gmail.com> | 2013-08-10 13:08:51 -0700 |
commit | a35707b3df8ec582cc68e84e53edac01a32e4df2 (patch) | |
tree | d115ee7ae6ea9e892d09591a8bdb33c415fd2d35 | |
parent | 78071a924fb8ba5aa12ea0e14f349699243c37ed (diff) | |
download | SlickGrid-a35707b3df8ec582cc68e84e53edac01a32e4df2.zip SlickGrid-a35707b3df8ec582cc68e84e53edac01a32e4df2.tar.gz SlickGrid-a35707b3df8ec582cc68e84e53edac01a32e4df2.tar.bz2 |
Added a 'slick-range-decorator' class to CellRangeDecorator.
This makes it possible to style the cell range decoration in CSS.
-rw-r--r-- | plugins/slick.cellrangedecorator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/slick.cellrangedecorator.js b/plugins/slick.cellrangedecorator.js index a511a59..16e50d5 100644 --- a/plugins/slick.cellrangedecorator.js +++ b/plugins/slick.cellrangedecorator.js @@ -31,7 +31,7 @@ function show(range) { if (!_elem) { - _elem = $("<div></div>", {css: options.selectionCss}) + _elem = $("<div class='slick-range-decorator'></div>", {css: options.selectionCss}) .css("position", "absolute") .appendTo(grid.getCanvasNode()); } @@ -61,4 +61,4 @@ "hide": hide }); } -})(jQuery);
\ No newline at end of file +})(jQuery); |