반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 자바스크립트
- react
- 주식공부
- JavaScript
- GIT
- 발매예정
- Linux
- draw
- Github
- sacai
- 코로나19
- oracle
- jQuery
- 덩크 로우
- Python
- 리액트
- 덩크 하이
- dunk high
- 리눅스
- 파이썬
- Nike
- Dunk Low
- stockx.com
- 제이쿼리
- 주식
- dunklow
- 오라클
- 나이키
- 드로우
- 덩크로우
Archives
- Today
- Total
Life goes slowly...
[jQuery] jQuery(제이쿼리) Table의 Drag and Drop - tablednd() 본문
728x90
반응형

자바스크립트의 제이쿼리(jQuery)를 사용하여 테이블 형식의 Row를 Drag and Drop 하는 라이브러리입니다.
Drag and Drop를 통하여 테이블 게시글 순서를 변경하는데 많이 사용됩니다.
jquery.tablednd.js 라이브러리 페이지
https://isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
Table Drag and Drop JQuery plugin
I’ve been using JQuery for a while now and really agree with its tag line that it’s the “The Write Less, Do More, JavaScript Library”. We’ve also got this code for dragging and dropping table rows that has proved very popular, so it seemed natura
isocra.com
https://github.com/isocra/TableDnD
isocra/TableDnD
jQuery plug-in to drag and drop rows in HTML tables - isocra/TableDnD
github.com
자바스크립트의 제이쿼리(jQuery) tablednd 라이브러리를 다운로드할 수 있습니다.
<table id="table-1" cellspacing="0" cellpadding="2" >
<tr id="1"><td>1</td><td>One</td><td>One text</td></tr>
<tr id="2"><td>2</td><td>Two</td><td>Two text</td></tr>
<tr id="3"><td>3</td><td>Three</td><td>Three text</td></tr>
<tr id="4"><td>4</td><td>Four</td><td>Four text</td></tr>
<tr id="5"><td>5</td><td>Five</td><td>Five text</td></tr>
<tr id="6"><td>6</td><td>Six</td><td>Six text</td></tr>
</table>
$(document).ready(function() {
$("#table-1").tableDnD({
onDragClass: "myDragClass"
});
});
728x90
반응형
'프로그래밍 > Javascript' 카테고리의 다른 글
[jQuery] 이펙트(effect) 효과 - .fadeIn(), .fadeOut() 함수 (0) | 2021.06.24 |
---|---|
[Javascript] 자바스크립트(JS) 문자를 유니코드변환 - encodeURIComponent() (0) | 2021.06.22 |
[jQuery] jQuery(제이쿼리) 요소제거 및 저장 - .detach() 함수 (0) | 2021.06.21 |
[Javascript] 자바스크립트(JS) - input 텍스트에 숫자만 입력 (0) | 2021.06.18 |
[jQuery] jQuery(제이쿼리) style 속성 추가 - .css() 함수 (0) | 2021.06.15 |
[Javascript] 자바스크립트(JS) - 문자열 Byte 체크하기 (0) | 2021.06.09 |
[Javascript] 자바스크립트(JS) - input 창에 focus 이동후 text 선택하기 (0) | 2021.06.04 |
[Javascript] 자바스크립트(JS) - formdata를 console.log로 볼수없는이유 (0) | 2021.05.26 |