jQuery DataTables Column Width 설정
-
helloworld
(stdio.h) - 이 글의 작성자
- Offline
- Junior
덜보기
더보기
- Posts: 117
- Thank you received: 24
18 Sep 2016 23:33 - 18 Sep 2016 23:44 #1204
작성자: helloworld
아래와 같이 각 컬럼 별 설정이 가능합니다.
helloworld 님의 글: jQuery DataTables Column Width 설정
$(document).ready(function() {
$('#datas').DataTable();
});
아래와 같이 각 컬럼 별 설정이 가능합니다.
$(document).ready(function() {
$('#datas').DataTable({
"columns" : [
null,
{ "width" : "50px" },
null,
{ "width" : "50px" },
{ "width" : "20%" },
{ "width" : "30px" },
{ "width" : "30px" },
{ "width" : "30px" },
{ "width" : "30px" },
{ "width" : "30px" },
{ "width" : "30px" }
]
});
});
Time to create page: 0.057 seconds