Search and Top Navigation
#4694 closed bug (fixed)
Opened July 17, 2009 11:02PM UTC
Closed October 11, 2012 01:50PM UTC
Document that table is only sortable by selecting "tbody"
Reported by: | lastorset | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | ui.sortable | Version: | 1.7.2 |
Keywords: | table tbody sortable | Cc: | |
Blocked by: | Blocking: |
Description
It took me a while to figure out that if you want to sort a table, you have to do $("table tbody").sortable(), not just $("table").sortable(). Perhaps this should be mentioned, or even demoed on http://jqueryui.com/demos/sortable/, since this presumably is a frequent use case.