DataTable scrollbar not displaying in IE
DataTable scrollbar not displaying in IE
barani129
Posts: 1Questions: 1Answers: 0
Hi,
I'm using datatable in my asp page. I have to problem:
- I want to show both horizontal and vertical scrollbar , it works well in chrome and firefox but in IE 11 it doesn't display scrollbar but it scrolls with mouse weel
2.my datatable is in right to left mode and i use col resize to resize column width but it's direction is not correct, when i pull the cursor to left that column's width become smaller instead of becoming bigger.
[code]
var oTable = $('#searchable').dataTable({
"dom": "RZlTflt<'row DTTTFooter'<'col-sm-6'i><'col-sm-6'p>>",
"colResize": {
"rtl": true,
"tableWidthFixed": false
},
"aaSorting": [[1, 'asc']],
"aLengthMenu": [
[5, 10, 20, -1],
[5, 10, 20, "All"]
],
"iDisplayLength": 10,
"sScrollX": "100%",
"sScrollY": "195px",
"bscrollCollapse": true,
"bJQueryUI": true,
"columnDefs": [
{
"targets": 0,
"searchable": false,
"orderable": false,
"width": "5%"
},
//{ "width": "40%", "targets": 2 },
//{ "width": "30%", "targets": [ 3, 4] },
//{ "width": "10%", "targets": 5 },
],
"colResize": {
"tableWidthFixed": false
},
[/code]
This discussion has been closed.