{"_id":"tablednd","_rev":"7-c50ce32a76ff47b2608a461c32340742","name":"tablednd","description":"JQuery plugin for dragging and dropping rows in a table","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.1":{"name":"tablednd","version":"1.0.1","description":"JQuery plugin for dragging and droping rows in a table","main":"Gruntfile.js","dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0"},"devDependencies":{"jshint":"^2.9.3"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/isocra/TableDnD.git"},"keywords":["tablednd","drag","and","drop","jquery"],"author":{"name":"DenisH"},"license":"MIT","bugs":{"url":"https://github.com/isocra/TableDnD/issues"},"homepage":"https://github.com/isocra/TableDnD#readme","gitHead":"b63e721dc134bc4dfa11cc7fd8a92cda053bcf1b","_id":"tablednd@1.0.1","_shasum":"8cb537891522d2151974962ecd08ea598fff76f3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"isocra","email":"denish@isocra.com"},"dist":{"shasum":"8cb537891522d2151974962ecd08ea598fff76f3","tarball":"https://registry.npmjs.org/tablednd/-/tablednd-1.0.1.tgz","integrity":"sha512-7A7bVriUMX1BvJWBoPHccB9txZL5YCu3NGrxW7FxdiRbTbQPbDHFrZoRJ9ecmfhThZpZPx0DR13SyUmFN95rig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwZzBszbFgszN2Kbu+eDRBZjiD7tVBJ/Hkg75vsH0jOAiEAi+qQ1WoNZ02nDyKVJayHAFxYHZQI4slmeULVrMXsFss="}]},"maintainers":[{"name":"isocra","email":"denish@isocra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tablednd-1.0.1.tgz_1511118273676_0.8542868921067566"},"directories":{}},"1.0.2":{"name":"tablednd","version":"1.0.2","description":"JQuery plugin for dragging and droping rows in a table","main":"Gruntfile.js","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","jshint":"^2.9.3"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/isocra/TableDnD.git"},"keywords":["tablednd","drag","and","drop","jquery"],"author":{"name":"DenisH"},"license":"MIT","bugs":{"url":"https://github.com/isocra/TableDnD/issues"},"homepage":"https://github.com/isocra/TableDnD#readme","gitHead":"e77ae4a766dc93c42a11f03f56f3cfdaa161d34b","_id":"tablednd@1.0.2","_shasum":"4b62798dc5b25e298efe83feb9082ae621fc87e8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"isocra","email":"denish@isocra.com"},"dist":{"shasum":"4b62798dc5b25e298efe83feb9082ae621fc87e8","tarball":"https://registry.npmjs.org/tablednd/-/tablednd-1.0.2.tgz","integrity":"sha512-2Zd5Rry9yy8dbnbN9x2oXffdNnUwbp+jkCOuQGei9KVeGL266yGm6D8tNKdwiTxWqYxp3nzZTimBBe1mxd8pGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE99Be8eIOZyTPardUIe7g+H5vR4JevLlpHWLDYcxFz0AiAIC6QNJT+4mKwyY92WfyGF71yrXQGPxJW48UqvSZaurg=="}]},"maintainers":[{"name":"isocra","email":"denish@isocra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tablednd-1.0.2.tgz_1511119171748_0.3710512693505734"},"directories":{}},"1.0.3":{"name":"tablednd","version":"1.0.3","description":"JQuery plugin for dragging and droping rows in a table","main":"Gruntfile.js","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","jshint":"^2.9.3","release-it":"^5.2.0"},"scripts":{"test":"grunt test","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/isocra/TableDnD.git"},"keywords":["tablednd","drag","and","drop","jquery"],"author":{"name":"DenisH"},"license":"MIT","bugs":{"url":"https://github.com/isocra/TableDnD/issues"},"homepage":"https://github.com/isocra/TableDnD#readme","gitHead":"80300e97bac80c2c5d22a70c2a36b1648de3fc91","_id":"tablednd@1.0.3","_shasum":"0c6992bc7fe3ec5e880344684479c9df90c0442b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"isocra","email":"denish@isocra.com"},"dist":{"shasum":"0c6992bc7fe3ec5e880344684479c9df90c0442b","tarball":"https://registry.npmjs.org/tablednd/-/tablednd-1.0.3.tgz","integrity":"sha512-VzAH8RssV25rP+2V3OT0/d4E2xXVnvnNvQA9p1OF7ehLak9Dn0T50QRnxDN7Xor+6KL/zgkFiyq1A7G1f/ozpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCquVtU9XsqHNVfhHI85moMoBIyEDi/+G1ArC/KaEZrAIhAOBEBhk0dGYHpp1RFy3sy7uiqunePijRXhZt235kIo8N"}]},"maintainers":[{"name":"isocra","email":"denish@isocra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tablednd-1.0.3.tgz_1515934763296_0.26042883307673037"},"directories":{}},"1.0.4":{"name":"tablednd","version":"1.0.4","description":"JQuery plugin for dragging and droping rows in a table","main":"Gruntfile.js","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","jshint":"^2.9.3","release-it":"^5.2.0"},"scripts":{"test":"grunt test","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/isocra/TableDnD.git"},"keywords":["tablednd","drag","and","drop","jquery"],"author":{"name":"DenisH"},"license":"MIT","bugs":{"url":"https://github.com/isocra/TableDnD/issues"},"homepage":"https://github.com/isocra/TableDnD#readme","gitHead":"3131efd9f9ac610a54ae64c79c045f8b37fece96","_id":"tablednd@1.0.4","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-cDQ/gUDHCJ2Gew9uFLzlK6UqB+rv/Ix32zcZP9g+xSGEcn16PNX+WMCyqnV2agI/dh4EjmvNiHhCcueHKAVFeQ==","shasum":"5de28195eaf6c2daffc0ed85233062b7259a0ca8","tarball":"https://registry.npmjs.org/tablednd/-/tablednd-1.0.4.tgz","fileCount":32,"unpackedSize":248227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRVELCRA9TVsSAnZWagAA3eMP/Ro421ptnIEuW8/tk5Ws\nfdgYCMNGvT3xQOyOuU7Bvkt4Mn5EZSQc0NrGuD2Ztr+UwFI+RksTWy+hDqWU\nQfMTmKbrtFiMHf2B4qriSHoyeeQLu4MeCBWcmOINpAaUnRaev53LkLzwJfAU\n1BKTWFdQG3x3mhNPiMkc3aK6JB7kyyPUzb2LPL4UIJ6rKOGDA7yymkZrLpUt\nzpDMCIU39BGulQSYyyLKU+t30fh3NlrtvpEo2mRsR2lKcMkfwLLM9B/aRpFk\njJFaGsw+2WkAUBMdmxbXhI2D4lUhNLdZiDUIghWRAYW78vNkrr9I0gsuMcgQ\nDEJetuODKTpTpaE/TCTQ/1SGo2l7j9vPyfzW6xo7u2wHus/46MujujqF46jH\nW9guri5r4ByF44oOWkCfUADK6RFLNOqO5iWedUH5yCJmDMhZDkAKXC9M4np8\nllQt1llWy3V4OxsVmJHldDB/0EBZAnJFUpL0ATUJePPUJV+8zJp7qxwA/iWA\nbLzGUVzlQ2BovH4yG6/8K+lC3Ru84o+U+vImH7r7rWcymP2d+AfzI7n2Bcvm\niNgPDig2sHV78qhOQTIaqK1amg2QxB7eCe98LQwbXeaZC7tvIO+9989GAFQ4\nZR7gxGzAlFYtnD530WjlIC2gGCqru4Cq7kZqPObFXg5DcpHiiOnqRUvGOC7Q\n4Rp7\r\n=RxH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyV3AxNCdEb0wHQSW+zagkVjKEztyItYp5+3HrZaVldgIgYAByVef9StZMo+ENO3SnzU8p+egPxSqlMhfMq+iH0EI="}]},"maintainers":[{"name":"isocra","email":"denish@isocra.com"}],"_npmUser":{"name":"isocra","email":"denish@isocra.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tablednd_1.0.4_1598378251353_0.8812083628625043"},"_hasShrinkwrap":false},"1.0.5":{"name":"tablednd","version":"1.0.5","description":"JQuery plugin for dragging and dropping rows in a table","main":"dist/jquery.tablednd.js","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","jshint":"^2.9.3","release-it":"^5.2.0"},"scripts":{"test":"grunt test","make-dist":"grunt","release":"release-it","release-dry-run":"release-it --dry-run"},"repository":{"type":"git","url":"git+https://github.com/isocra/TableDnD.git"},"keywords":["tablednd","drag","and","drop","jquery"],"author":{"name":"DenisH"},"license":"MIT","bugs":{"url":"https://github.com/isocra/TableDnD/issues"},"homepage":"https://github.com/isocra/TableDnD#readme","gitHead":"10943ed77b4151fffa27b78f4295e180d0cf2a76","_id":"tablednd@1.0.5","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-iC230jusaekjzzAy0jigZLbzb7jKKnW9xiNiZ4W17p7y8AvBYf5KunyrIE3HwL1FhL2VEeogZtjP5VeBeIW4xg==","shasum":"2c59bd9ad6470d7a0191bd7788c7560ec735314a","tarball":"https://registry.npmjs.org/tablednd/-/tablednd-1.0.5.tgz","fileCount":36,"unpackedSize":313186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJft69JCRA9TVsSAnZWagAAeVwP/045XNjXIdPYv5yWuOTw\nirN391J0uGyZFA1tt7Uww34xBP4wChagMc2ljFuKqdyW1MC/SlQUCiHHsGrp\nr1pKsb4LxAge35qo1pgj7xpzldvm40TrOT4BIkxQyOwKvD0GSz3D3crsK9/B\njnTgHaKIGrL8k3tD4oIH45ux3tI9pE1y+le0NwHDhcvUB7WoJo5ChFV99hBu\nqlYspHQsVxZn9Z3Wi3FcyfngQCPJ7K1IGYGRO2O1DiZG26DHevwDYLhqzDQV\nxj55sDA/+1bjpdLn/of+6k5VBptM8HwjQ/BOtqvOCh4sXUpjokvyYqIRlCHs\nNZY/qAwLxcCwdVPlDhz9QFOE/6Ll8l35KUdjR2UAA5whY2V2pGrCEWkmv62X\n+YCSOrd6rWL1mQN8AkZ3Uv/2f8eV20/V7srMEes5XdkxXPIkpbMqQ9VG7cw3\nsKzQw+Px5xm40ucfRlv+6iCKrsMimdFk9eqskfGbtCcLZCjlsfI80vwfJayC\n9vY8d1c7T5UJ2Y9456eIQdoz/s+lSDceTNOGLYycjZ/NE853tZLwmI0vnHHs\nNsWgdVZGZu5vBSYxclAlpr5ZzloYeKyKXjsxxduu4TWWGsyyJnb53ICQK2lW\nePsa3xLLb24YzM45deo0xxeDKbNiSXdvk70xEsopS/5iZ7GfZrtz85p8ZN7Q\nvD7X\r\n=3skO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOCKowqk1MR+UkuoPO/7Zuz/j+1GSmnDY1Q/Ug6N+xxQIgNk7WkWtZdgaCqQumkd9t/73voZag0cuzNbb096F3fQE="}]},"_npmUser":{"name":"isocra","email":"denish@isocra.com"},"directories":{},"maintainers":[{"name":"isocra","email":"denish@isocra.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tablednd_1.0.5_1605873481236_0.449636545100488"},"_hasShrinkwrap":false}},"readme":"# TableDnD\n[![npm version](https://badge.fury.io/js/tablednd.svg)](https://badge.fury.io/js/tablednd)\n[![CDNJS version](https://img.shields.io/cdnjs/v/TableDnD.svg)](https://cdnjs.com/libraries/TableDnD)\n[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/gh/isocra/TableDnD/badge?style=rounded)](https://www.jsdelivr.com/package/gh/isocra/TableDnD)\n[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)\n\n## Installation\n\nTableDnD is easy to install:\n```\nnpm install --save tablednd\n```\nor\n```\nyarn add tablednd\n```\nor\n```\nbower install https://github.com/isocra/TableDnD.git\n```\nAlternatively you can simply reference from CDNJS:\n```html\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/TableDnD/0.9.1/jquery.tablednd.js\" integrity=\"sha256-d3rtug+Hg1GZPB7Y/yTcRixO/wlI78+2m08tosoRn7A=\" crossorigin=\"anonymous\"></script>\n```\nor\n```html\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/TableDnD/0.9.1/jquery.tablednd.js\" integrity=\"sha256-d3rtug+Hg1GZPB7Y/yTcRixO/wlI78+2m08tosoRn7A=\" crossorigin=\"anonymous\"></script>\n```\nYou'll also need to include [jQuery](https://jquery.com) before you include this plugin (so that jQuery is defined).\n\n---\n\n## Getting Started\n\nLet's create a simple table. The HTML for the table is very straight forward (no Javascript, pure HTML, we haven't added `thead` or `tbody` elements, but it works fine with these too):\n\n```html\n<table id=\"table-1\" cellspacing=\"0\" cellpadding=\"2\">\n    <tr id=\"1\"><td>1</td><td>One</td><td>some text</td></tr>\n    <tr id=\"2\"><td>2</td><td>Two</td><td>some text</td></tr>\n    <tr id=\"3\"><td>3</td><td>Three</td><td>some text</td></tr>\n    <tr id=\"4\"><td>4</td><td>Four</td><td>some text</td></tr>\n    <tr id=\"5\"><td>5</td><td>Five</td><td>some text</td></tr>\n    <tr id=\"6\"><td>6</td><td>Six</td><td>some text</td></tr>\n</table>\n```\nTo add in the \"draggability\" all we need to do is add a line to the `$(document).ready(...)` function as follows:\n```html\n<script type=\"text/javascript\">\n$(document).ready(function() {\n    // Initialise the table\n    $(\"#table-1\").tableDnD();\n});\n</script>\n```\nBasically we get the table element and call `tableDnD`. If you try this, you'll see that the rows are now draggable.\n\nIn the example above we're not setting any parameters at all so we get the default settings. There are a number of parameters you can set in order to control the look and feel of the table and also to add custom behaviour on drag or on drop. The parameters are specified as a map in the usual way and are described the [full documentation](http://isocra.github.io/TableDnD):\n\nYou can also play and experiment with TableDnD using this [jsFiddle](http://jsfiddle.net/DenisHo/dxpLrcd9/embedded/result/). Here you get the documentation, plus live examples.\n","maintainers":[{"name":"isocra","email":"denish@isocra.com"}],"time":{"modified":"2022-06-27T03:29:18.713Z","created":"2017-11-19T19:04:34.643Z","1.0.1":"2017-11-19T19:04:34.643Z","1.0.2":"2017-11-19T19:19:31.841Z","1.0.3":"2018-01-14T12:59:24.421Z","1.0.4":"2020-08-25T17:57:31.472Z","1.0.5":"2020-11-20T11:58:01.387Z"},"homepage":"https://github.com/isocra/TableDnD#readme","keywords":["tablednd","drag","and","drop","jquery"],"repository":{"type":"git","url":"git+https://github.com/isocra/TableDnD.git"},"author":{"name":"DenisH"},"bugs":{"url":"https://github.com/isocra/TableDnD/issues"},"license":"MIT","readmeFilename":"README.md"}