[refactor][xs]: rename DataGrid to Grid for simplicity and consistency with file name.
This commit is contained in:
@@ -38,14 +38,14 @@ this.recline.View = this.recline.View || {};
|
||||
//
|
||||
// **views**: (optional) the dataset views (Grid, Graph etc) for
|
||||
// DataExplorer to show. This is an array of view hashes. If not provided
|
||||
// just initialize a DataGrid with id 'grid'. Example:
|
||||
// just initialize a Grid with id 'grid'. Example:
|
||||
//
|
||||
// <pre>
|
||||
// var views = [
|
||||
// {
|
||||
// id: 'grid', // used for routing
|
||||
// label: 'Grid', // used for view switcher
|
||||
// view: new recline.View.DataGrid({
|
||||
// view: new recline.View.Grid({
|
||||
// model: dataset
|
||||
// })
|
||||
// },
|
||||
@@ -107,7 +107,7 @@ my.DataExplorer = Backbone.View.extend({
|
||||
this.pageViews = [{
|
||||
id: 'grid',
|
||||
label: 'Grid',
|
||||
view: new my.DataGrid({
|
||||
view: new my.Grid({
|
||||
model: this.model
|
||||
})
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user