[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] } ] });
더보기
[Superset] X Axis Format 추가하기.
Week 표시를 위해 추가 d3-time-format 참고https://github.com/d3/d3-time-format assets/javascripts/explore/stores/controls.jsx export const D3_TIME_FORMAT_OPTIONS = [ ['smart_date', 'Adaptative formating'], ['%d/%m/%Y', '%d/%m/%Y | 14/01/2019'], ['%m/%d/%Y', '%m/%d/%Y | 01/14/2019'], ['%Y-%m-%d', '%Y-%m-%d | 2019-01-14'], ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10'], ['%d-%m-%Y %H:%M:%S..
더보기