1
작동하지 내가 DataTable을 내보내기 기능에 문제가, 내가 코드JQuery와 시일을 추정 할 PDF/엑셀 내보내기 서버 측 처리
$('#example').dataTable({
"sDom": 'T<"clear">lfrtip',
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"oTableTools": {
"aButtons": [
"copy",
"csv",
{
"sExtends": "xls",
"sxlsMessage": "Excel title"
},
{
"sExtends": "pdf",
"sPdfOrientation": "landscape",
"sPdfMessage": "Pdf Title",
"sPdfTitle": document.title
},
"print"
]
}
이 나를 위해 잘 작동 이하로 사용하지만 서버 측 처리 사실과 데이터를 바인딩 할 때, 내 테이블에 모든 데이터, 페이지 매김, 정렬 및 모든 기능이 작동하지만 내보내기 기능이 작동하지 않고 실제로 내보내기 버튼도 표시되지 않으며 DOM에도로드되지 않습니다.
$('#example').dataTable({
"bJQueryUI": true,
"oTableTools": {
"aButtons": [
"copy",
"csv",
{
"sExtends": "xls",
"sxlsMessage": "Excel title"
},
{
"sExtends": "pdf",
"sPdfOrientation": "landscape",
"sPdfMessage": "Pdf title",
"sPdfTitle": document.title
},
"print"
]
},
"iDisplayLength": 10,
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "ServerData/AjaxPage.aspx",
"aoColumns": [
{ "mData": "STATUS" },