Problem to use two options (tableTool + jQuery UI themes)
Problem to use two options (tableTool + jQuery UI themes)
Super_carotte
Posts: 11Questions: 1Answers: 0
Hello,
FIrstly, thank you for developing Datatable, it is so usefull :)
I have problems to use both TableTool:
http://www.datatables.net/release-datatables/extras/TableTools/
and jQuery UI themes:
http://www.datatables.net/release-datatables/examples/basic_init/themes.html
When i try to use those two options on the same page, export button work but there is not the "good looking" theme of UI theme anymore.
Is it possible to use them at the same time? (I use UI theme because it looks beter, only for good looking. If it is not possible to use both a the same time, i will remove UI theme)
Here is my code (I modified the paths but i checked on firebug and all path are good on my localhost):
myproject/index.php:
[code]
<!-- Les CSS Datatables -->
<!-- Datatables -->
$(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aaSorting": [[ 3, "desc" ]],
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "libs/datatables/media/swf/copy_csv_xls_pdf.swf"
}
});
} );
[/code]
Thanks for your help,
Benjamin
FIrstly, thank you for developing Datatable, it is so usefull :)
I have problems to use both TableTool:
http://www.datatables.net/release-datatables/extras/TableTools/
and jQuery UI themes:
http://www.datatables.net/release-datatables/examples/basic_init/themes.html
When i try to use those two options on the same page, export button work but there is not the "good looking" theme of UI theme anymore.
Is it possible to use them at the same time? (I use UI theme because it looks beter, only for good looking. If it is not possible to use both a the same time, i will remove UI theme)
Here is my code (I modified the paths but i checked on firebug and all path are good on my localhost):
myproject/index.php:
[code]
<!-- Les CSS Datatables -->
<!-- Datatables -->
$(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aaSorting": [[ 3, "desc" ]],
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "libs/datatables/media/swf/copy_csv_xls_pdf.swf"
}
});
} );
[/code]
Thanks for your help,
Benjamin
This discussion has been closed.
Replies
There is an example on the site here: http://datatables.net/release-datatables/extras/TableTools/theme.html
Allan
It disapear with these options.
Allan
I modified CSS to move exports button to the right, everything is exactly where i want.
Thank you for your help,
Regards,
Benjamin.