Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $('.sorted_table').sortable({
- containerSelector: 'table',
- itemPath: '> tbody',
- itemSelector: 'tr',
- placeholder: '<tr class="placeholder"/>'
- });
- });
- <table id="listOfFile" class="table table-hover sorted_table">
- <thead class="head">
- <tr>
- <td class="filename">File name</td>
- <td class="type">Type</td>
- <td class="detail">Details</td>
- <td class="status">Status</td>
- <td></td>
- </tr>
- </thead>
- <tbody class="body">
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement