Sortable is a jQuery UI behaviour for interactively drag-reordering table rows. This is from jQueryUI 1.10.3.
We ran into some trouble using the simple port of jQueryUI because of the known CSS conflicts with Bootstrap. Rather than add another package to solve the problem of two packages fighting, we custom-packaged only the behavioural part of jQueryUI we needed and sidestepped the jQueryUI theming entirely.
npm install -g meteorite
(if not already installed)mrt add jquery-ui-sortable
- For the simplest invocation, have a
<table>
with a multiple-row<tbody>
in a template, and call$('tbody').sortable()
in its.rendered()
event.