Horizantal Scrollbar appears. But columns not scrolling
Horizantal Scrollbar appears. But columns not scrolling
Hi all, I have created a datatables using structure like
$('#patientWorklistTable').dataTable({"aoColumns": [
{ "sTitle": "Patient"},
{ "sTitle": "column 2"},
{ "sTitle": "column 3" },
{ "sTitle": "column 4" },
{ "sTitle": "column 5" },
{ "sTitle": "column 6"},
{ "sTitle": "column 7" }
],
"sScrollY": "1000px",
"sScrollX": "100%",
"sScrollXInner": "1200px",
"bScrollCollapse": true,
"bSort": false,
"bAutoWidth": false,
"sDom":"t"
});
I am using data array to load data into the table. Data is a div, which contains hyperlinks, images and texts etc.,
When I load the page, I saw horizantal scrollbar appears. When I do the scrolling only scrollbar moves, but the contents inside will not move. Any ideas on this?
$('#patientWorklistTable').dataTable({"aoColumns": [
{ "sTitle": "Patient"},
{ "sTitle": "column 2"},
{ "sTitle": "column 3" },
{ "sTitle": "column 4" },
{ "sTitle": "column 5" },
{ "sTitle": "column 6"},
{ "sTitle": "column 7" }
],
"sScrollY": "1000px",
"sScrollX": "100%",
"sScrollXInner": "1200px",
"bScrollCollapse": true,
"bSort": false,
"bAutoWidth": false,
"sDom":"t"
});
I am using data array to load data into the table. Data is a div, which contains hyperlinks, images and texts etc.,
When I load the page, I saw horizantal scrollbar appears. When I do the scrolling only scrollbar moves, but the contents inside will not move. Any ideas on this?
This discussion has been closed.
Replies
Allan
Regards,
Ravi