update
This commit is contained in:
@@ -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: '"',
|
||||
@@ -14,7 +14,8 @@ dataset.fetch();
|
||||
|
||||
// show the data for illustrations sake
|
||||
var grid = new recline.View.SlickGrid({
|
||||
model: dataset
|
||||
model: dataset,
|
||||
el: $('#my-online-csv')
|
||||
});
|
||||
$('#my-online-csv').append(grid.el);
|
||||
grid.visible = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user