diff --git a/inst/htmlwidgets/datatables.js b/inst/htmlwidgets/datatables.js index bc72a1c6..136a8b94 100644 --- a/inst/htmlwidgets/datatables.js +++ b/inst/htmlwidgets/datatables.js @@ -180,9 +180,7 @@ HTMLWidgets.widget({ }; }, renderValue: function(el, data, instance) { - if(!data.hasOwnProperty("lazyRender")) - data.lazyRender = true; - if ((el.offsetWidth === 0 || el.offsetHeight === 0) && data.lazyRender) { + if ((el.offsetWidth === 0 || el.offsetHeight === 0) && data.lazyRender !== false) { instance.data = data; return; }