Backgrid Integration
How I would use backgrid within a backbone.marionette application?
Solution 1:
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
})
);
Post a Comment for "Backgrid Integration"