Datatable search box window scroll issue

Datatable search box window scroll issue

arshad_photonarshad_photon Posts: 2Questions: 1Answers: 0

Hi. I have created a table using datatable plugin. When I start entering characters in search box, table starts scrolling up-down. eg. 1st character, table scrolls up, 2nd character, table scrolls down. It goes on. Facing this issue in 1280x720 p. Please give me some solution.

Answers

  • kthorngrenkthorngren Posts: 21,591Questions: 26Answers: 5,004

    Assuming you have scrollY configured, does this example work correctly for you?
    https://datatables.net/examples/basic_init/scroll_y.html

    Maybe you have an event configured that is causing the problem. Probably will need to look at a test case with the issue.

    Kevin

  • arshad_photonarshad_photon Posts: 2Questions: 1Answers: 0

    Thanks for your response. I am not using " scrollY " as it just creates scroll for entries in table. I'll just have 10/20/30 entries per page (have pagination). I still don't know the exact cause. It works fine with 1920x1080 screen, but not with smaller screens.

    "ScrollY" does help upto some extent, but entries in the datatable starts moving up-down, with the entry of characters in search box. Don't know why.

  • allanallan Posts: 63,889Questions: 1Answers: 10,530 Site admin

    Happy to take a look at a test case showing the issue.

    Allan

This discussion has been closed.