Datatable search box window scroll issue
Datatable search box window scroll issue
arshad_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.
This discussion has been closed.
Answers
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
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.
Happy to take a look at a test case showing the issue.
Allan