I am trying to install a datagrid fuel source from my main system. The source of the examples is here https://github.com/ExactTarget/fuelux/tree/master/sample .
I'm tired like
(function (root, factory) { if (typeof define === 'function' && define.amd) { define(factory); } else { root.sampleData = factory(); } }(this, function () { return { "geonames": new mycollection
And my main rendering consists of the following code to set the data source
var dataSource = new StaticDataSource({ columns: [ { property: 'username', label: 'Name', sortable: true }, { property: 'username', label: 'Country', sortable: true }, data: this.collection, delay: 250 }); $('#MyGrid').datagrid({ dataSource: dataSource, stretchHeight: true });
I get an error. StaticDataSource is undefined.
Can someone explain this to me? Or will I be grateful if you can help me with a link to tutorail, which explains how to set datssource data from the core network? The fuel supplement has good documentation in my opinion.
source share