That depends partly on what you are using for a datascroller. There is no datascroller UI component in the core JSF. To get one, you have to either design/code/debug/maintain one of your own or use a third-party JSF extension tagset such as Tomahawk or RichFaces.
It also depends on how you define "disable". Whether you want the scroll gadget literally disabled (visible ghosted) or not displayed (rendered) at all.
However, one thing that you can rely on almost universally is that as long as your target dataTable has a statically-determined sized (something like a ListDataModel as opposed to a
JDBC datamodel), then the following EL construct should work:
You can also use the "empty" EL expression to hide empty tables and/or display "No Data Available" messages.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.