Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reconbot/backbone-tablesorter
A backbone.JS powered table generation and sorter library that respects your Views()
https://github.com/reconbot/backbone-tablesorter
Last synced: 6 days ago
JSON representation
A backbone.JS powered table generation and sorter library that respects your Views()
- Host: GitHub
- URL: https://github.com/reconbot/backbone-tablesorter
- Owner: reconbot
- Created: 2012-05-25T21:42:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-18T19:00:20.000Z (over 12 years ago)
- Last Synced: 2024-04-09T21:17:36.084Z (7 months ago)
- Language: JavaScript
- Homepage: http://reconbot.github.com/backbone-tablesorter/
- Size: 652 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a very functional Backbone.js table sorter plugin that respects your views(). Its primary usecase (to be abstracted away into a subclass) is currently to show you some rows and let you swap out or add another row that has more details. I imagine you'll want to do something else with it. I made this because I wanted people to be able to sort things while not destroying all their work.
[Lets play with the demo!](http://reconbot.github.com/backbone-tablesorter/demo.html)
I the backbone-tablesorter promise to:
- Not destroy your views unless you destory my models
- Not care about your rendering or updating, that's between you and your model.
- Keep all your bindings
- Do the annoying sutff for you
- Love twitter bootstrap but not make you marry it
- Love mustache.js but not make you marry it either
- Require backone.js underscore.js and jquery
- (I don't know about this zepto fellow but I'll gladly support him if it does the right stuff.)I will never do:
- Re-render your models to sort
- Drink too much coffeescript
- Care what you do in the sanctity of your own trI only ask that you the model:
- Keep yourself a tr, I don't care about anything else
- Emit events when you'd like me to swap you out
- Only join a collection who's either a SortableList or knows one personally. (If you do a good impression that will fly too.)