Datagrid plugin for Backbone.Marionette. Check out the demo!
v0.0.1: Test suite is begining. Consider this very alpha.
Backbone.Dg aims to bring an out of the box way to build data grids based on Backbone and Backbone.Marionette.
- Fetches table data from a
Backbone.Collection - Event-based management with a Marionette
EventAggregator - Provides view implementations using Marionette components (
Layout,CompositeViewandItemView) - Provides view markup with Twitter Bootstrap classes that can be replaced
- Modular structure allowing you to redefine each component separately:
- Records per page
- Quick search
- Records Info
- Pagination
- Markup (table vs. div)
Backbone.Dg currently works with the following libraries:
- jQuery v2.1.0
- Underscore v1.6.4
- Backbone v1.1.2
- Backbone.Marionette v1.6.4
You can try to run with different versions at your own risks.
You can find the raw (coffee) source code in src. Development and production builds are in dist.
- Development: backbone.dg.js
- Production: backbone.dg.min.js
You can read the annotated source code.
- Author: Laurent Prévost (Prevole)
- License: MIT (see LICENSE.txt)