Why the Search box is moving when scrolling my table?
Why the Search box is moving when scrolling my table?

My data table is very large. search box is working but when i scrolling my table search box is also moving. I wand to static on top right corner when data table scrolling .
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Looks like you are relying on the browser to scroll. Try using
scrollX
like this example.Kevin
its ok but when i use
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
its no work
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin