Shift Click Doesn't Work [SELECT EXSTENTION]
Shift Click Doesn't Work [SELECT EXSTENTION]
emadina
Posts: 6Questions: 2Answers: 1
Hello Expert,
Could you please suggest, i am using this code for my Project.
$(document).ready(function() {
var table = $('#example_select').DataTable( {
dom: 'Bfrtip',
buttons: [
'selected',
'selectedSingle',
'selectAll',
'selectNone',
'selectRows',
'selectColumns',
'selectCells'
],
select : true
} );
table.select();
I know that normally, when we defining "select : true" it will use "os" style.
The problem with my project is, ctrl+click for multiple row is OK while only shift+click doesn't work.
I got stuck on that. I've looking for resolution on this forum and over the internet.
It is not helping me out at all though.
I am using all this dependencies,
<link rel="stylesheet" href="<?php echo base_url();?>plugins/datatables/jquery.dataTables.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>plugins/datatables/extensions/Select-1.2.2/css/select.dataTables.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>plugins/datatables/extensions/Buttons-1.3.1/css/buttons.dataTables.css">
<script src="<?php echo base_url();?>plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="<?php echo base_url();?>plugins/datatables/jquery.dataTables.js"></script>
<script src="<?php echo base_url();?>plugins/datatables/extensions/Select-1.2.2/js/dataTables.select.js"></script>
<script src="<?php echo base_url();?>plugins/datatables/extensions/Buttons-1.3.1/js/dataTables.buttons.js"></script>
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It seems to work okay in this example. Does it work for you there?
Can you link to a page showing the issue please?
Allan
Hi Allan,
Thanks for your response. I found out the problem, it is because of this jquery.dataTables.js file which i am using. It was v1.10.7, then i upgrade to v1.10.10.
The problem is resolved now.
Thanks Allan.
Regards,
emadina