Skip to content

pratyushmittal/angular-dragtable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo

http://fully-faltoo.com/angular-dragtable/

Dependencies

AngularJS

Usage

  1. Load the module angular.module('myModule', ['dragtable']);

  2. Add the draggable attribute to any table.

Example:

<table draggable>
    <thead>
        <tr>
            <th id="x">Name</th>
            <th>Favorite Color</th><th>Date</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Dan</td>
            <td>Blue</td><td>1984-07-12</td>
        </tr>
        <tr>
            <td>Alice</td>
            <td>Green</td><td>1980-07-22</td>
        </tr>
    </tbody>
</table>

About

This is the AngularJS version of Dan Vanderkam's DragTable. It does not require any other dependencies (ie. no jquery required)..

Differences from the original DragTable:

  • No support for old browsers.
  • No cookie handling (instead provides the on-drag-end callback function).

About

This is the pure AngularJS version of Dan Vanderkam's DragTable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published