Fix bug in backends ducumentation #449
This commit is contained in:
parent
a3b1a3e7e8
commit
b2f90d5f6a
@ -1,7 +1,7 @@
|
||||
// Create the dataset in the usual way
|
||||
// Note the additional options you can specify for parsing the CSV file
|
||||
var dataset = new recline.Model.Dataset({
|
||||
url: '{{page.root}}/demos/data/sample.csv',
|
||||
url: '{{page.root}}demos/data/sample.csv',
|
||||
backend: 'csv',
|
||||
// delimiter: ',',
|
||||
// quotechar: '"',
|
||||
@ -11,6 +11,7 @@ var dataset = new recline.Model.Dataset({
|
||||
// remember this is async so if you want to do something you need to call it in done method e.g.
|
||||
// dataset.fetch.done(function(dataset) { console.log(dataset.recordCount)});
|
||||
dataset.fetch();
|
||||
|
||||
// show the data for illustrations sake
|
||||
var grid = new recline.View.SlickGrid({
|
||||
model: dataset,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user