Export to excel input column
Export to excel input column
chenbenezra
Posts: 8Questions: 0Answers: 0
i have column that show input with button
and when i export the table to excel the clumn is empty
how can print in the excel file the value in the input?
thank you
this is the code more and less
[code]
var table = $("#Table").dataTable({
"bStateSave": true,
"bPaginate": true,
"bLengthChange": false,
"bFilter": true,
"bSort": true,
"iDisplayLength": 25,
"bInfo": true,
"bAutoWidth": true,
"oLanguage": {
"sInfo": "_START_-_END_ of _TOTAL_",
"oPaginate": {
"sPrevious": "",
"sNext": ""
}
},
"sDom":'Tlft',
"oTableTools": {
"sSwfPath": "./js/jquery/datatables/tabletools/swf/copy_csv_xls_pdf.swf",
"sRowSelect": "multi",
"aButtons": [ {
"sExtends": "print",
"bSelectedOnly": "true",
"sInfo": "Press Escape When Done",
"bShowAll": false
},
{
"sExtends":"xls",
"sButtonText":"Excel",
"bSelectedOnly":"true",
"sFileName":"*.xls",
"sTitle": "Products"
},
{
"sExtends": "pdf",
"sButtonText":"Pdf",
"bSelectedOnly": "true",
"sFileName": "*.pdf",
"sTitle": "Products"
}
]
},
"aoColumns": {
{ "sTitle": "Quantity", sClass: "noClickable quantityCell"},
{ "sTitle": "Name)}
]
});
var data = [];
for (var i = 0; i < products.length; i++) {
var quantity = "
and when i export the table to excel the clumn is empty
how can print in the excel file the value in the input?
thank you
this is the code more and less
[code]
var table = $("#Table").dataTable({
"bStateSave": true,
"bPaginate": true,
"bLengthChange": false,
"bFilter": true,
"bSort": true,
"iDisplayLength": 25,
"bInfo": true,
"bAutoWidth": true,
"oLanguage": {
"sInfo": "_START_-_END_ of _TOTAL_",
"oPaginate": {
"sPrevious": "",
"sNext": ""
}
},
"sDom":'Tlft',
"oTableTools": {
"sSwfPath": "./js/jquery/datatables/tabletools/swf/copy_csv_xls_pdf.swf",
"sRowSelect": "multi",
"aButtons": [ {
"sExtends": "print",
"bSelectedOnly": "true",
"sInfo": "Press Escape When Done",
"bShowAll": false
},
{
"sExtends":"xls",
"sButtonText":"Excel",
"bSelectedOnly":"true",
"sFileName":"*.xls",
"sTitle": "Products"
},
{
"sExtends": "pdf",
"sButtonText":"Pdf",
"bSelectedOnly": "true",
"sFileName": "*.pdf",
"sTitle": "Products"
}
]
},
"aoColumns": {
{ "sTitle": "Quantity", sClass: "noClickable quantityCell"},
{ "sTitle": "Name)}
]
});
var data = [];
for (var i = 0; i < products.length; i++) {
var quantity = "
This discussion has been closed.
Replies