How I would use backgrid within a backbone.marionette application?
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
})
);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With