Tabletools within a form

Tabletools within a form

jtushmanjtushman Posts: 1Questions: 0Answers: 0
edited June 2012 in TableTools
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]

Replies

  • snarf2larfsnarf2larf Posts: 64Questions: 0Answers: 0
    Can you post a link to a working example to replicate the problem? I've used table tools with AJAX and never had a problem with the export to xls or csv. I can't see anything wrong with your initialization code.
This discussion has been closed.