File tree 2 files changed +4
-5
lines changed 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
@import url ("../src/dijit/themes/tundra/tundra.css" );
4
4
@import url ("../src/dojo/resources/dojo.css" );
5
+ @import url ("../src/dgrid/css/dgrid.css" );
5
6
6
7
@import url ("main.css" );
7
8
@import url ("sequence.css" );
Original file line number Diff line number Diff line change 8
8
'dojo/query' ,
9
9
'dojo/dom-construct' ,
10
10
'dojo/dom-class' ,
11
- 'dojo/store/Memory' ,
12
- 'dstore/legacy/StoreAdapter' ,
11
+ 'dstore/Memory' ,
13
12
'dgrid/OnDemandGrid' ,
14
13
'dgrid/extensions/DijitRegistry' ,
15
14
'JBrowse/Util'
@@ -22,7 +21,6 @@ define([
22
21
domConstruct ,
23
22
domClass ,
24
23
MemoryStore ,
25
- StoreAdapter ,
26
24
DGrid ,
27
25
DGridDijitRegistry ,
28
26
Util
@@ -231,10 +229,10 @@ return declare( null, {
231
229
parent . style . overflow = 'hidden' ;
232
230
parent . style . width = '90%' ;
233
231
var memstore = new MemoryStore ( { data : rows } )
234
- var adaptedStore = new DstoreAdapter ( memstore ) ;
232
+ console . log ( memstore ) ;
235
233
var grid = new Grid ( {
236
234
columns : columns ,
237
- store : adaptedStore
235
+ collection : memstore
238
236
} , parent ) ;
239
237
240
238
return parent ;
You can’t perform that action at this time.
0 commit comments