Export buttons and row selection
Export buttons and row selection
arnjmllr
Posts: 5Questions: 1Answers: 0
version 1.9.4
I have a table that if I don't add an export button you can select one or more rows (i.e. clicking a row will highlight the row). Once I add the export button clicking the row does not highlight/select the row.
var dataTableOptions = {
aaData: rows,
aoColumns: columns,
sDom: 'T<"clear">lfrtip', /*removing the T will enable row selection again*/
oTableTools: {
aButtons: [
{ sExtends: "csv",
sButtonText: "Export"
}]
},
bPaginate: true,
bLengthChange: true,
iDisplayLength: -1,
aLengthMenu: [[25, 50, 100, -1], [25, 50, 100, "All"]],
multiSelect: true,
bFilter: true,
bSort: true,
bSortClasses: false,
bInfo: true,
bAutoWidth: false,
bJQueryUI: true,
bDestroy: true,
bStateSave: false, // remember user's sort
oLanguage: { sEmptyTable: 'There are currently no tasks in this queue. Please choose another queue.' }
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Can you format that code? To make it readable, then it can be debugged
The formatting/markdown instructions are right below the text box for the replies..
thanks for the tip. appreciate your help.
Looks like you need to add the old
sRowSelect
option in TableTools.Allan
Thank You!!!