Skip to content

Instantly share code, notes, and snippets.

View Ardrete's full-sized avatar

Victor Ardrete

  • Ardrete Corp.
  • Mexico City
View GitHub Profile
@Ardrete
Ardrete / lazyLoader.js
Created April 23, 2017 13:02 — forked from markschl/lazyLoader.js
Attempt to implement a Handsontable (www.handsontable.com) plugin allowing deferred loading of data (see also https://github.com/warpech/jquery-handsontable/issues/607). For an example see: http://jsfiddle.net/7Z3bD/54/
/**
* This Handsontable plugin implements deferred data loading, useful for
* large tables ("infinite scrolling").
*
*
* Example usage
* -------------
* In this example data is fetched from a Django + Tastypie Api
*
* var hot = new Handsontable(document.getElementById('table'), {