Long table - unwanted page vertical scroll problem

Long table - unwanted page vertical scroll problem

cocoricoscocoricos Posts: 2Questions: 1Answers: 0
edited February 2018 in Free community support

Hi,

I have a problem. I am using this code for long datatable.

"scrollY": "380px",
"scrollX": true,
"scrollCollapse": true,
"paging": false,

There is no problem in IE, but unwanted page vertical scroll appearing on Google Chrome and Firefox. Please see attached.

Why is this happening? How can I solve it.

Regards,

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Can you post a link to a page showing the issue please?

    Allan

  • cocoricoscocoricos Posts: 2Questions: 1Answers: 0

    Hi Allan,

    This is an intranet project. :(

    The long table is loading from sql server and datatables applying ASP.net gridview object. It takes 2 seconds to fully load the page. In the meantime, the scroll bar of the page slides down. After applying the datatables to the gridview table, the scroll bar of the page is not revised according to the content. I am using "scrollY": "380px"

    What can we do for the solution?

    Thanks in advance.

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    If you can create a test example showing the issue using http://live.datatables.net , JSFiddle, CodePen, or any of the other similar sites that would be great and let me understand the issue fully and debug it.

    Thanks,
    Allan

This discussion has been closed.