Can't get row selection to work
Can't get row selection to work
DataCrunch
Posts: 3Questions: 0Answers: 0
Hiya,
I'm sure I'm probably doing something a bit daft, but hope someone may be able to help. I'm using server-side processing and want to implement a row multi select using TableTools. The table renders as expected and the TableTools buttons appear at the top but clicking on rows does not select them. My initialisation code is below:
[code]
$('#mytable').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "myDataHandler.ashx",
"sPaginationType": "full_numbers",
"aLengthMenu": [[50, 100, 150, 200, -1], [50, 100, 150, 200, "All"]],
"iDisplayLength": 50,
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [ "select_all", "select_none" ]
}
});
[/code]
Any ideas what I'm doing wrong?
Thanks.
I'm sure I'm probably doing something a bit daft, but hope someone may be able to help. I'm using server-side processing and want to implement a row multi select using TableTools. The table renders as expected and the TableTools buttons appear at the top but clicking on rows does not select them. My initialisation code is below:
[code]
$('#mytable').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "myDataHandler.ashx",
"sPaginationType": "full_numbers",
"aLengthMenu": [[50, 100, 150, 200, -1], [50, 100, 150, 200, "All"]],
"iDisplayLength": 50,
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [ "select_all", "select_none" ]
}
});
[/code]
Any ideas what I'm doing wrong?
Thanks.
This discussion has been closed.
Replies
http://debug.datatables.net/ofiwah