Export buttons and row selection

Export buttons and row selection

arnjmllrarnjmllr Posts: 5Questions: 1Answers: 0
edited October 2015 in Free community support

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

Answers

This discussion has been closed.