Skip to content

dfsq/trSortable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery trSortable plugin

jQuery plugin for reordering rows within a table with drag and drop.

Available options

  • onDragClass: [String:'trs-ondrag'] Class added to the row being draged.
  • onDragStart: [Function:null] Function which is called dragging is started.
  • onDrop: [Function:null] Callback to be called on row drop. Takes 2 parameters: the tbody and the row that was dropped.
  • dragHandler: [String:null] CSS selector of the drag handler element within TR. If not specified then the whole row is dragable.

Example

Here is an example of simple usage of the plugin:

http://jsfiddle.net/kpp9B/2/

About

jQuery plugin for reordering rows within a table with drag and drop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published