Default value of observeChanges in handsontable -


the documentation says default value of observechanges false. seems setting value true. default value applicable when sort plugin disabled?

we noticing rendering invoked multiple times due , wondering if can set false explicitly.

here jsfiddle:

$(document).ready(function() {      var container = document.getelementbyid('basic_example');      var data = function() {      return handsontable.helper.createspreadsheetdata(10, 10);    };      var hot = new handsontable(container, {      data: data(),      colheaders: true,      rowheaders: true,      stretchh: 'all',      columnsorting: true,      contextmenu: true    });      if (container.clientheight < 500) {      container.height = container.clientheight;      hot.updatesettings({        height: container.clientheigh      });      hot.render();    }      settimeout(function() {      var output = document.getelementbyid('output').innerhtml = hot.getsettings().observechanges;    }, 1000);      });
</style> <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> <link href="http://handsontable.com//styles/main.css" rel="stylesheet"> <link href="http://handsontable.com//bower_components/handsontable/dist/handsontable.full.css" rel="stylesheet"> <script src="http://handsontable.com//bower_components/handsontable/dist/handsontable.full.js"></script> <style type="text/css"> body {    background: white;    margin: 20px;  }  h2 {    margin: 20px 0;  }  div#basic_example {    border: 5px solid #ccc;  }
<span>default value observe changes</span>      <div id="basic_example"></div>    <span id="output">output</span>

click here jsfiddle: http://jsfiddle.net/mpusarla/nva6b8e8/1/


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -