allendragtable

1.0.5 • Public • Published

Demo


https://allenstu6311.github.io/dragTable/

dragTable

npm


npm install allendragtable 

cdn


https://cdn.jsdelivr.net/gh/allenstu6311/dragTable@master/cdn.js

Guide


     var data = [
        { id: 1, name: 'Alice', age: 25 },
        { id: 2, name: 'Bob', age: 30 },
        { id: 3, name: 'Charlie', age: 22 },
        { id: 4, name: 'David', age: 28 },
    ];
    
    new DragTable("test", {
        tableData: data,
        drag: function (e) { },
        drop: function (data) {},
        targetClass: "target",
        dragClass: "drag"
    })

  <table id="test" border="1" class="gridtable">
        <thead></thead>
        <tbody></tbody>
  </table>

Readme

Keywords

Package Sidebar

Install

npm i allendragtable

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

11.2 MB

Total Files

9

Last publish

Collaborators

  • allenstu6311