Opened 14 years ago
Closed 10 years ago
#4694 closed bug (fixed)
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.
Change History (2)
comment:1 Changed 13 years ago by
Component: | [meta] ui.docs → ui.sortable |
---|---|
Milestone: | TBD → 1.8 |
Priority: | minor → major |
Type: | enhancement → bug |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in https://github.com/jquery/api.jqueryui.com/commit/c110a08315c09146481bc42b9b9290f069c52648