Tabletools within a form
Tabletools within a form
jtushman
Posts: 1Questions: 0Answers: 0
Hi guys,
Sorry if this is a Noob question.
I am ramping up on DT and TT, and very impressed. Thats for a great tool.
I have a bunch of tables in which I implement "multiple editing." For example, you click a bunch of checkboxes and hit a button to inactivate them.
When I add TableTools to the table with the following code. It seems to propigate the action to the outer form and hit the server and refresh the page, before TableTools has a chance to export to xls or csv.
Whats the way to work around this? Thanks again for a great tool.
[code]
$('.item-list').dataTable({
sPaginationType: "full_numbers",
bJQueryUI: true,
"sDom": '<"H"Tlfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "/copy_csv_xls_pdf.swf",
"aButtons": ["copy","csv", "xls", "pdf"]
}
});
[/code]
Sorry if this is a Noob question.
I am ramping up on DT and TT, and very impressed. Thats for a great tool.
I have a bunch of tables in which I implement "multiple editing." For example, you click a bunch of checkboxes and hit a button to inactivate them.
When I add TableTools to the table with the following code. It seems to propigate the action to the outer form and hit the server and refresh the page, before TableTools has a chance to export to xls or csv.
Whats the way to work around this? Thanks again for a great tool.
[code]
$('.item-list').dataTable({
sPaginationType: "full_numbers",
bJQueryUI: true,
"sDom": '<"H"Tlfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "/copy_csv_xls_pdf.swf",
"aButtons": ["copy","csv", "xls", "pdf"]
}
});
[/code]
This discussion has been closed.
Replies