---
title: Table Dragger
---
{{#extend "layout-default"}}
{{#content "css_vendor" mode="append"}}
{{/content}}
{{#content "js_vendor" mode="append"}}
{{/content}}
{{#content "scripts" mode="replace"}}
{{/content}}
{{#content "body"}}
Default
With no options, sort columns, handler was the first row
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| Howard The Duck |
"Comedy" |
1986 |
$16,295,774 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
Sort Rows
Sort rows, handler was the first column
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| Howard The Duck |
"Comedy" |
1986 |
$16,295,774 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
Only Body
Setting onlyBody to true in row mode, user can only lift rows in tBody
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| Howard The Duck |
"Comedy" |
1986 |
$16,295,774 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
Handler
Specify drag handler wherever within the table
| Movie Title dragme |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| Howard The Duck |
"Comedy" |
1986 |
$16,295,774 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
Free
After mousedown, move mouse horizontally or vertically, see what happens. Don't
forget to specify drag handler
| Movie Title |
Genre |
Year |
Gross |
| Star Warsdragme |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| Howard The Duck |
"Comedy" |
1986 |
$16,295,774 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
Event
Add callback when event trigger, open devtool see what happens
| Movie Title |
Genre |
Year |
Gross |
| Star Wars dragme |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| Howard The Duck |
"Comedy" |
1986 |
$16,295,774 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
{{/content}}
{{/extend}}