728x90
반응형
https://datatables.net/forums/discussion/comment/166165/#Comment_166165
How do customize excel with using datatable in jQuery?
I m using DataTable (Jquery) to export excel file. But I facing on how do put extra information to export excel file.
datatables.net
https://datatables.net/forums/discussion/comment/108870/#Comment_108870
Excel export and newlines
I found lots of posts on this but have not come up with a solution. My goal is to display the text with new lines.
datatables.net
if(col['htCustomize']){
$('row', sheet).each(function (idx) {
if(idx > 1){
const lines = $(this).text().split('\n').length;
$('row', sheet).eq(idx).attr('ht', lines*30 ).attr('customHeight', "1");
}
});
}
728x90
반응형
'Front > JS & jQuery' 카테고리의 다른 글
[jQuery] .animate() (0) | 2023.09.01 |
---|---|
[jQuery] .position() (0) | 2023.08.31 |
[js] Array.isArray() (0) | 2023.08.16 |
[jQuery] 문자열 내용의 줄 수 구하기 (0) | 2023.08.15 |
[js] Set 객체 사용하기 (0) | 2023.08.12 |