Skip to content

Instantly share code, notes, and snippets.

@ceokot
ceokot / NestedAjaxDataSource.js
Created August 25, 2013 00:11
An implementation of the awesome Fuel UX datagrid with an ajax-enabled data source that also supports nested properties.
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define([ 'underscore' ], factory);
} else {
root.NestedAjaxDataSource = factory();
}
}(this, function() {
var NestedAjaxDataSource = function(options) {
this._formatter = options.formatter;