본문 바로가기

엉터리 개발 이야기/Superset

[Superset][datatables] Column Size 지정

반응형
const datatable = container.find('.dataTable').DataTable({
paging,
pageLength,
aaSorting: [],
searching: fd.include_search,
bInfo: false,
scrollY: height + 'px',
scrollCollapse: true,
scrollX: true,
columnDefs: [
{ width: '5%', targets : [0] },
{ width: '5%', targets : [1] },
{ width: '5%', targets : [2] }
]
});


반응형