Print problem with header and bSelectedOnly
Print problem with header and bSelectedOnly
vifouz
Posts: 4Questions: 0Answers: 0
Hello everybody,
I have a problem when i use print function from TableTools v.2.0.2
The print page display filters and all rows but i configure this action with bSelectedOnly="true". It's strange because i have no problem with others actions (copy, xls, csv, pdf) from this plug-in.
I would like the print function display the same information that pdf export.
My code :
[code]
"oTableTools": {
"sSwfPath": "../../framework/swf/datatables.TableTools/copy_cvs_xls_pdf.swf",
"sRowSelect": "multi",
"sSelectedClass": "row_selected_1",
"aButtons": [
"select_all", "select_none",
{
"sExtends": "copy",
"bSelectedOnly": true
},
{
"sExtends": "print",
"bSelectedOnly": true
},
{
"sExtends": "collection",
"sButtonText": "Export",
"aButtons": [
{
"sExtends": "csv",
"bSelectedOnly": true
},
{
"sExtends": "xls",
"bSelectedOnly": true
},
{
"sExtends": "pdf",
"bSelectedOnly": true
}
]
}
]
[/code]
I have a problem when i use print function from TableTools v.2.0.2
The print page display filters and all rows but i configure this action with bSelectedOnly="true". It's strange because i have no problem with others actions (copy, xls, csv, pdf) from this plug-in.
I would like the print function display the same information that pdf export.
My code :
[code]
"oTableTools": {
"sSwfPath": "../../framework/swf/datatables.TableTools/copy_cvs_xls_pdf.swf",
"sRowSelect": "multi",
"sSelectedClass": "row_selected_1",
"aButtons": [
"select_all", "select_none",
{
"sExtends": "copy",
"bSelectedOnly": true
},
{
"sExtends": "print",
"bSelectedOnly": true
},
{
"sExtends": "collection",
"sButtonText": "Export",
"aButtons": [
{
"sExtends": "csv",
"bSelectedOnly": true
},
{
"sExtends": "xls",
"bSelectedOnly": true
},
{
"sExtends": "pdf",
"bSelectedOnly": true
}
]
}
]
[/code]
This discussion has been closed.
Replies
regretfully tabletools print doesn't work with a single row.
joao noronha
Thanks for your response.
Bye.