반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- aws cicd
- Spring Error
- redis
- codepipeline
- Flux
- IntelliJ
- Python
- docker
- 도커
- codedeploy
- bootstrap
- java bigdecimal
- chart.js
- codebuild
- openlens
- Kafka
- kubeflow
- Airflow
- codedeploy error
- chartjs
- AWS CI/CD 구축하기
- SQL
- JavaScript
- node
- Spring
- PostgreSQL
- COALESCE
- Jenkins
- aws
- VPN
Archives
- Today
- Total
Small Asteroid Blog
dataTable 한국어 함수 본문
728x90
dataTable 을 사용할 때 한국어로 사용하고 싶다면 다음과 같은 함수를 사용하면 된다.
var lang_kor = {
"decimal" : "",
"emptyTable" : "데이터가 없습니다.",
"info" : "_START_ - _END_ (총 _TOTAL_ 명)",
"infoEmpty" : "0명",
"infoFiltered" : "(전체 _MAX_ 명 중 검색결과)",
"infoPostFix" : "",
"thousands" : ",",
"lengthMenu" : "_MENU_ 개씩 보기",
"loadingRecords" : "로딩중...",
"processing" : "처리중...",
"search" : "검색 : ",
"zeroRecords" : "검색된 데이터가 없습니다.",
"paginate" : {
"first" : "첫 페이지",
"last" : "마지막 페이지",
"next" : "다음",
"previous" : "이전"
},
"aria" : {
"sortAscending" : " : 오름차순 정렬",
"sortDescending" : " : 내림차순 정렬"
}
};
글쓴이의 경우 html <head>에 아래의 cdn을 추가해 사용했다.
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.3/css/responsive.dataTables.min.css" />
<script src="https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.js"></script>
728x90
반응형
'프론트엔드 > Javascript' 카테고리의 다른 글
| javascript json key, value 추출 (0) | 2021.04.09 |
|---|---|
| ajax xml 전체내용 출력 (0) | 2021.04.07 |
| window.onload 와 $(document).ready 의 차이 (0) | 2021.02.15 |
| [chart.js] tooltip 선택 시 value, percentage 둘다 표시 (0) | 2020.07.09 |
| script5007 정의되지 않음 또는 null 참조인 속성을 가져올 수 없습니다. (0) | 2020.07.07 |