sometimes the export buttons appear in the form of VLC Media Player controls.
sometimes the export buttons appear in the form of VLC Media Player controls.
adibro
Posts: 3Questions: 1Answers: 0
How to stop this? and why is this happening? I have limited time to solve this as we are using this in our company project. Thanks in advance...
This discussion has been closed.
Answers
Please post a link to a test case showing the problem. as per the forum rules.
https://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
I cannot provide the url but i can provide the print screen image:
Thanks...
The solution will be in your code. A screenshot is not helping.
Here is the code:
$(document).ready(function() {
$('#dtAllRequests').DataTable( {
"ajax": {
"url": "xAGENT_vwAllCompletedRequestsMyDeptJSON.xsp",
//"url": '#{javascript:getXAgentPageNo("CompletedRequests")}',
"dataSrc": ""
},
order : [0, 'desc'],
iDisplayLength : 20,
aLengthMenu : [10,20,50],
// Tabletools options:
// https://datatables.net/extensions/tabletools/button_options
"sDom": "<'dt-toolbar'<'col-xs-12 col-sm-6'f><'col-sm-6 col-xs-6 hidden-xs'lT>r>"+
"t"+
"<'dt-toolbar-footer'<'col-sm-6 col-xs-12 hidden-xs'i><'col-sm-6 col-xs-12'p>>",
"oTableTools": {
"aButtons": [
{
"sExtends": "xls",
"sTitle": "All_Completed_Requests"
"fnCreatedRow": function( nRow, aData, iDataIndex ) {
$(nRow).attr('class', 'clickableRow');
} );
Sorry for the non formatted code as there are too many quotation marks...``
TableTools was retired some time ago. Use Buttons and Select.
https://datatables.net/extensions/tabletools/