title: Handsontable Limit Cell Characters
body: <p>I  have been searching for the answer to a very simple question, how to stop a user from entering 250 characters into a cell of a Handsontable? I have found I can recreate a validation, but that won't stop a user from entering more than 250 characters. I am looking for something like maxlength:</p>
  
  <pre><code>&lt;input id="notes" maxlength="250" /&gt;
  
  
  
  var date_validator_regexp = /(^$|^(0[1-9]|1[012])[/](0[1-9]|[12][0-9]|3[01])[/][0-9]{4}$)/;
  var limit_validator_regexp = /(^[\s\S]{0,250}$)/;
  
          $("#gridUpdateNotes").handsontable({
              startRows: 1,
              startCols: 2,
              colHeaders: ["Date", "Notes"],
              columnSorting: false,
              enterBeginsEditing: false,
              autoWrapRow: true,
              autoWrapCol: true,
              minSpareRows: 1,
              colWidths: [140, 450],
              removeRowPlugin: true,
              copyPaste: true,
              afterValidate: function (isValid, value, row, prop, source) {
                  if (isValid == false &amp;&amp; prop === "Notes") {
                      alert("The Notes cannot have more than 250 characters.");
                  }
              },
              columns: [
                {
                    data: "NoteDate",
                    type: "date",
                    dateFormat: "mm/dd/yy",
                    allowInvalid: false,
                    validator: date_validator_regexp
                },
                {
                    data: "Notes",
                    allowInvalid: false,
                    validator: limit_validator_regexp
      }
              ]
          });
  </code></pre>