Search code examples
primefacesdatatablepositionscrollbar

move scrollbar to top in datatable Primefaces


I'm using Primefaces 5.1 It is possible to move scrollbar from bottom table to top? picture


Solution

  • No, not as far as I know. The scrollbar is a native scrollbar from the OS and cannot be moved to the top without modifying the html of the component. The latter is what is done in How to change scroll bar position with CSS? and why it will not work here