Skip to content

Commit

Permalink
Remove resize logic until ramnathv/htmlwidgets#161 and/or handsontabl…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrowen committed Feb 11, 2016
1 parent 2f3c92b commit 8a91d63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rhandsontable
Title: Interface to the 'Handsontable.js' Library
Version: 0.3.0.2
Version: 0.3.0.3
Authors@R: c(person("Jonathan", "Owen", email = "[email protected]",
role = c("aut", "cre", "cph")),
person("Jeff", "Allen", role = c("ctb")),
Expand Down
8 changes: 4 additions & 4 deletions inst/htmlwidgets/rhandsontable.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ HTMLWidgets.widget({

resize: function(el, width, height, instance) {

instance.hot.updateSettings({ width: width,
height: height
});
instance.hot.render();
//instance.hot.updateSettings({ width: width,
// height: height
//});
//instance.hot.render();

},

Expand Down

0 comments on commit 8a91d63

Please sign in to comment.