른록노트

[DataTable 에러] The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width. 본문

Web/[Error]

[DataTable 에러] The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width.

른록 2017. 8. 9. 16:08

에러코드

The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width.


원인

테이블의 너비가 정해지지 않아서 컬럼이 깨질 수 있다고함, 그래서 테이블은 최소한의 크기로 그려졌다고 함.


해결방법

dataTable을 사용하는 테이블에 width를 주면 됨




참고사이트

https://datatables.net/forums/discussion/6162/resize-bug-when-using-with-jquery-tabs

반응형
Comments