How I would use backgrid within a backbone.marionette application?
Asked
Active
Viewed 1,836 times
1 Answers
10
It's as simple as it looks. Just add the Backgrid view to any region:
MyApp.addRegions({
someRegion: "#some-div"
});
var columns ....
var userList ....
MyApp.someRegion.show(
new Backgrid.Grid({
columns : columns,
collection : userList
})
);

David Riccitelli
- 7,491
- 5
- 42
- 56

Hellblazer
- 779
- 5
- 10